Hi folks,
as the subjects says: Which public/private key crypto (-library) are you using in your projects? Respectively would you recommend one? Could you maybe even spare some code examples?
greetings!
I am using AES(nimAES) + SHA2(nimSHA2) for nimPDF because the PDF specification dictates what kind of encryption allowed in a PDF document.
Altough many people says AES offers very strong encryption, I am not really sure AES alone is sufficient to secure your document. here is the reason
I have inspect both PDF and ZIP encryption(they use AES as one of their supported algorithm). And both of them enhanced the security by adding multiple layer of complexity on top of AES.
I would recommend AES as your core algorithm, and you can always add another layer of intended complexity.
The problem with AES is: i have to share the encryption key with all participants. And i can't be shure that one trusted sender has forged the package/message.
I've played with NaCl and Libsodium but nim/i always failed to link it... but thats another story.
I've asking this question because i have implemented my "mission critical code" in python for now. And maybe you folks would have an enlightening idea.