Page 1 of 1

utils.validatePBKDF2Hash validate outside Servoy

PostPosted: Tue Jan 28, 2014 7:14 pm
by ccadwell1374840114
I have all the user names and passwords stored in a table for all our solutions.
We have other applications that are not written using Servoy but we would like to authenticate logins against the Servoy password table. I'm looking to validate passwords outside of Servoy for instance in a PHP application. In Servoy we have created using utils.stringPBKDF2Hash('test') and stored the result in a database table. To validate we use utils.validatePBKDF2Hash('test','28D9337C326D9CE9:2000:C14D5B9FB3C5CA10920D479BD3F01E9E790F5745' ).
Is there anything outside of Servoy utils that will validate properly. I did try this function https://defuse.ca/php-pbkdf2.htm but not compatible. Any other hints would be great otherwise will need to probably use something generic other than utils.stringPBKDF2Hash.

Re: utils.validatePBKDF2Hash validate outside Servoy

PostPosted: Mon Jul 14, 2014 10:25 am
by jcompagner
servoy uses PBKDF2 with the SHA1 hashing
in the link you send me it seems to use SHA256?


servoy uses this lib: http://www.rtner.de/software/PBKDF2.html