Hey ya , 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 , this example I using combination of those encryption, MD5 + SH1 and also random char to create hash.
Hi comrades, long time no see . Sorry for long hibernate I need time to fix some problem in the office. I think this post is not big deal , huh , 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.
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 .