All posts tagged “php cli

comment 0

Random Password Encryption

Hey ya 8) , Today I just want to fill my spare time with share some codes. Some of you may know about encryption. I’m using MD5 and SHA1 for this example. First I want to tell you what is MD5 and SHA1 . MD5 is Message-Digest Algorithm version 5. MD5 is a widely used cypthograpich hash function that produces a 128-bit hash value. SHA1 is Secure Hash Algorithm. SHA-1 is a cryptographic hash function designed by the United States National Security Agency and published by the United States NIST as a U.S. Okay :redface: , this example I using combination of those encryption, MD5 + SH1 and also random char to create hash.

comment 0

WordPress Hash Generator

:redface: Hi comrades, long time no see  8) . Sorry for long hibernate  :lol:  I need time to fix some problem in the office. I think this post is not big deal , huh   :nyesel:  , I just want to share about wordpress hash. WordPress is using hash from PHP password hashing framework . You can find the file on your wordpress trunk ( ‘/wp-includes/class-phpass.php’) , yeah that’s the file for create wordpress and we need to create this tool.  :redface:

Okay , in this case we will create tool to generate wordpress hash with php cli, yayy command line interface. Firstly, we grab the wordpress file ( I mean class-phpass.php to our folder).

and there is the code for generate wordpress hash with php cli .