php crypt/blowfish not show as expected
How to test,
- apk add php-cli
- php -f crypt-test.php
Result: ===
Standard DES: rl.3StKT.4T8M
Extended DES: _J9..rasmBYk8r9AiWNc
MD5: $1$rasmusle$rISCgZzpwk3UhDidwXvin0
Blowfish(1): $2a$07$usesomesillystringfore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi
Blowfish(2): *
Blowfish(3): $2a$07$rasmuslerd...........uWT0/evsycV1j8mw6CBI/GvO1o5WHpyO
Blowfish(4): $2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra
Expected: ===
Standard DES: rl.3StKT.4T8M
Extended DES: _J9..rasmBYk8r9AiWNc
MD5: $1$rasmusle$rISCgZzpwk3UhDidwXvin0
Blowfish(1): $2a$07$usesomesillystringfore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi
Blowfish(2): $2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra
Blowfish(3): $2a$07$rasmuslerd...........uWT0/evsycV1j8mw6CBI/GvO1o5WHpyO
Blowfish(4): $2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra
SHA-256: $5$rounds=5000$usesomesillystri$KqJWpanXZHKq2BOB43TSaYhEWsQ1Lr5QNyPCDH/Tp.6
SHA-512: $6$rounds=5000$usesomesillystri$D4IrlXatmP7rx3P3InaxBeoomnAihCKRVQP22JZ6EY47Wc6BkroIuUUBOov1i.S5KPgErtP/EN5mcO.ChWQW21
For, SHA-256 and SHA-512, I maynot be installing some module, but any guide would be nice.
(from redmine: issue id 5141, created on 2016-02-19, closed on 2017-05-19)
- Changesets:
- Revision 13863cc1 by Timo Teräs on 2016-03-25T08:08:42Z:
main/php: fix sha256/512 passwords
ref #5141
- Revision a924aa20 by Timo Teräs on 2016-03-25T08:24:25Z:
testing/php7: fix sha256/512 passwords
ref #5141
- Uploads: