Prevent DOS attack on Decrypt caused by excessive masterkey iterations