You are not logged in.
Pages: 1
Hi,
I would like to use a SynCrypto.pas function for encrypt data with AES mode CTR.
But I must be sure that other external remote systems can decrypt correctly with a given key.
How is possible to ensure the certainty that encrypt in mormot is decrypted in other systems? There are measures to be adopted to make this process compatible (standardise) over time?
Thanks in advance!
Offline
Use mORMot 2 and not SynCrypto.pas from mORMot 1.
Just ensure you properly initialized the key and IV.
For instance, check the input encoding of the RawByteString memory buffers.
Consider using AES-GCM if you can, because it will also check the integrity, which is not done by AES-CTR.
Otherwise, the mORMot implementation is pretty standard, and validated against reference vectors and OpenSSL.
Offline
Pages: 1