mgregoro / Crypt-Sodium

Perl bindings for libsodium (NaCL)
Artistic License 2.0
5 stars 6 forks source link

Updating for newer libsodium ? #6

Closed udf2457 closed 7 years ago

udf2457 commented 7 years ago

Hi,

Do you have any plans to update for newer versions of libsodium ? For example you don't appear to have implemented Argon2 based password hashing, looks like its still Scrypt based in your code ?

mgregoro commented 7 years ago

sure, are there other features in particular from newer versions you'd like me to take advantage of?

udf2457 commented 7 years ago

Hi,

Thanks for getting back to me.

Yeah, apart from the Argon2 functions , the following would also certainly be very useful:

Also, not essential, just looks interesting, Key Derivation from High-Entropy Keys (https://download.libsodium.org/doc/key_derivation/).

Good luck and thanks !

mgregoro commented 7 years ago

No problem.. the newest commit should have the Argon2 functionality as the default algo to crypto_pwhash_* .. I'll look into these other things and get them added. Are you at all interested in an OO interface for some of this stuff? I know there's another module that does it OO style so I've been trying to keep off their territory.. its just this huge long list is becoming tough to manage. Thanks for the feedback and for using the module.

mgregoro commented 7 years ago

Also if you don't mind I'm going to break this into multiple issues..

mgregoro commented 7 years ago

Closing this; Argon2 access added, broke the rest into #7, #8, #9, #10, and #11. Thanks again for your request.