On Sun, Mar 04, 2018 at 04:00:23PM -0300, Esteban A. Maringolo wrote: > 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.
Thanks Esteban. Pull request merged. > The end result is this: https://github.com/eMaringolo/pharo-bip39mnemonic Cool! > What I'm missing is a better PRNG to generate random numbers from 128 > to 256 bits. OpenSSL has RAND_* functions waiting to be wrapped. :-) Or, if your code is running on a modern Unix-like system, read directly from /dev/random or /dev/urandom. Pierce