Generalized EncryptedDataManager class
Fixed EncryptedDataManager.IsMasterKey