Sep 25, 2015 at 8:51 PM
I am drying to configure the EncryptedDataModule with


but when i ty to encript a value it gives a error that the encrypting key is not ok, can you give me an example of how to configure the cryptKey?

Sep 25, 2015 at 9:21 PM
Crypt key should match the algorithm; Extended unit tests project has method TestGenerateCryptoKeys, run it, it will output newly generated keys for all algorithms (see Output window). If you use default algorithm, then it is RijndaelManaged, just copy the key and use it (put it in config or smth like this). Be careful not to put it on client machines (you have Windows apps, right?)
Also look at LoginModule, it uses encrypted module to encrypt some user staff