I wrote this library a few months back when we migrated our site up to PR8-10. Much of our site runs on PHP, so it was crucial that we could work with the passwords ourselves. Luckily since Miva Merchant went with a standard algorithm (PBKDF), I was able to create a compatible adapter. There are some other PBKDF1 and PBKDF2 libraries out there, but I felt like this one fits the API much closer and uses the defaults I saw based on the PR8-10 LSK. Before launching we tested this on 10's of thousands of customer passwords ensuring that each one converted properly, and we've run this on our production store since July without any issues at all.
I put the code up on GitHub in case anyone wants to contribute to it: https://github.com/Brandon0/Miva_Password
For those curious, most of the information I got was from burch in this thread: http://extranet.mivamerchant.com/for...ncryption-Info
Hopefully this helps someone!
I put the code up on GitHub in case anyone wants to contribute to it: https://github.com/Brandon0/Miva_Password
For those curious, most of the information I got was from burch in this thread: http://extranet.mivamerchant.com/for...ncryption-Info
Hopefully this helps someone!
Comment