[PHP-DEV] RFC karma

2020-06-09 Thread Enrico Zimuel
gards, Enrico Zimuel

Re: [PHP-DEV] [RFC] Add hash_pbkdf2 function

2012-06-20 Thread Enrico Zimuel
Hi Anthony, i think your RFC is very good! I like the idea to have PBKDF2 implementation that is able to act, at the same time, as secure hash value generator (without the length parameter) and as key derivation function (with the length parameter). I think we should be consistent with the API of

Re: [PHP-DEV] Adding a simple API for secure password hashing?

2012-06-19 Thread Enrico Zimuel
Hi Anthony, I'm not sure about the idea to have a specific SPL for password hashing. I like the idea to have a standard interface for that but maybe is enough just a set of functions. I see a valid argument to have a standard interface especially for the password_register_algo(). Enrico 2012/6/1

Re: [PHP-DEV] Adding a simple API for secure password hashing?

2012-06-18 Thread Enrico Zimuel
the user's salt as option and generate a random salt if not provided. For the random generation I suggest to use as first option the openssl_random_pseudo_bytes() that is considered more secure compared with mcrypt_create_iv($size, MCRYPT_DEV_URANDOM). I just wrote that changes here: https: