RC for Crypto API 2.0.
Major rework of the API.
API is NOT compatible with previous version and applications already using CryptoAPI may need to be adapted.
- Removed Deterministic Encryption
- Revamped to have more direct uses. You now have a few ways to create keys (including from password) and only one encrypt / decrypt actions.
- Removed GetPrivateKey(). It's now used under the hood for a more safe to use SaveKey function.
- ComputeMac now takes the algorithm to use as parameter
- Added GeneratePassword, a drop-in replacement for OutSystems' builtin GeneratePassword function, but secure.
- Added CompareMac, to securely (constant-time) compare 2 given MACs or hashes.
Features planned for the final release of version 2.0:
- RSA Sign
- RSA support PEM encoded keys
- AWS SigV4