I found my self in a dilemma here recently, I needed to generate my own md5 hash password on the fly (encryption).
So I found 3 ways to do this:
shell: php -r 'echo md5("test");'
098f6bcd4621d373cade4e832627b4f6
mysql: select md5('test');
098f6bcd4621d373cade4e832627b4f6
shell: echo -n test | md5sum
098f6bcd4621d373cade4e832627b4f6
Learn more about md5 encryption here
Comments
Post new comment