#1 2019-04-16 08:50:24

MC
Member
Registered: 2012-10-04
Posts: 21

Authenticated Encryption with Associated Data sample project

Hello ab,
I really appreciate the ECC command line utility.
But sometimes, I need to achieve symmetric encryption.
So, I propose a sample project of AEAD encryption using mORMot.
I hope you will validate it and add it to the sample projects provided with MORMOT.
Thank you so much.

Source available 30 days :
https://www.swisstransfer.com/d/489a928 … 015b13af5a

Synopse AEAD authenticated-encryption with associated-data
        via AES-256-CFB/PKCS7 over PBKDF2_HMAC_SHA256
----------------------------------------------------------
Using mORMot's SynCrypto rev. 1.18.5029

AEAD help
AEAD crypt -file some.doc -out some.doc.synaead -pass P@ssW0rd -salt salt
       -rounds 60000
AEAD decrypt -file some.doc -out some.doc.synaead -pass P@ssW0rd -salt salt
       -rounds 60000

Offline

#2 2019-04-16 11:41:16

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,128
Website

Re: Authenticated Encryption with Associated Data sample project

Great contribution!

I have merged it as https://synopse.info/fossil/info/3db98d22c0

Thanks a lot!

Offline

Board footer

Powered by FluxBB