Where do we obtain the encryption key constant and the legacy key constant from?

The documentation states that an encryption key and a legacy key constant must be set.  https://docs.mendix.com/appstore/modules/encryption/#231-encryptionkey-constant   Where do we obtain these values from?   PS: need this to integrate open AI into an app.
2 answers

Hello Priya,


Actually nowhere because you are free to decide your own keys, as long as it has the amount of characters.

However, keep in mind that when you encrypt data with the key you are going to need the same key to decrypt it, so be sure that you store it somewhere secure.


Hope this helps,


Good luck


It's similar to a password: you can decide how to come up with something that's impossible to guess.