CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: Re: [newera] salt and password generation: Edit Log

Veteran / Moderator

Sep 22, 2015, 6:47 AM

Views: 2300
Re: [newera] salt and password generation

Start by reading the documentation for the corresponding perl functions and run a few tests. There's not always a direct one-to-one match between the results of php and perl functions, so you'll probably need to do some tweaking if you want both language routines to return the exact same password. This is especially true when writing your own custom encryption routines, like you're currently doing..

rand() -
Digest::MD5 -
Digest::SHA1 -
Data::Uniqid -

I can't find an escape function on, so I don't know what your escape function does and because of that, I can't provide a corresponding perl function.

(This post was edited by FishMonger on Sep 22, 2015, 6:48 AM)

Edit Log:
Post edited by FishMonger (Veteran) on Sep 22, 2015, 6:48 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives