I am developing a php application for our library and i want our patrons to
login to the new app using the same credentials they use to login to koha.
I've tried using the following code but it produces a different string
everytime it is run. 
<?php 
echo shell_exec(perl -MKoha::AuthUtils -e 'print
Koha::AuthUtils::hash_password("mystrongpassword"), "\n"'); 
?>
Most probably the password is salted as well and i cant figure out how.
Anyone wid some ideas will be highly appreciated.




--
View this message in context: 
http://koha.1045719.n5.nabble.com/PHP-equivalent-for-koha-s-password-encryption-tp5841459.html
Sent from the Koha-general mailing list archive at Nabble.com.
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to