2018-03-04 0:45 GMT-03:00 Pierce Ng <pie...@samadhiweb.com>: > On Fri, Mar 02, 2018 at 11:24:36AM -0300, Esteban A. Maringolo wrote: >> There is a PBKDF2 package made by Udo Schneider, and seems to be >> easily pluggable with a different hashing algorithm, so I'd need a >> SHA512 class. > > OpenSSL-Pharo wraps the SHA512 in libcrypto. See LcEvpSHA512Test. > > https://github.com/PierceNg/OpenSSL-Pharo
Thank you Pierce, I managed to make play the SHA classes of your OpenSSL wrapper with the PBKDF2 from Udo's plus HMAC from the Cryptography package. I sent you a pull-request <https://github.com/PierceNg/OpenSSL-Pharo/pull/1> that includes missing accessors that I needed to achieve the above interplay. The end result is this: https://github.com/eMaringolo/pharo-bip39mnemonic What I'm missing is a better PRNG to generate random numbers from 128 to 256 bits. But my main objective was a proof of concept that ended up being successful. Thanks for your help. Esteban A. Maringolo