• Skip to main content
  • Skip to primary sidebar

Technical Notes Of
Ehi Kioya

Technical Notes Of Ehi Kioya

  • About
  • Contact
MENUMENU
  • Blog Home
  • AWS, Azure, Cloud
  • Backend (Server-Side)
  • Frontend (Client-Side)
  • SharePoint
  • Tools & Resources
    • CM/IN Ruler
    • URL Decoder
    • Text Hasher
    • Word Count
    • IP Lookup
  • Linux & Servers
  • Zero Code Tech
  • WordPress
  • Musings
  • More
    Categories
    • Cloud
    • Server-Side
    • Front-End
    • SharePoint
    • Tools
    • Linux
    • Zero Code
    • WordPress
    • Musings
Home » Tools & Resources » WordPress Password Hash Generator

WordPress Password Hash Generator

By Ehi Kioya 2 Comments

This WordPress Password Hash Generator uses the official WordPress hashing function wp_hash_password() behind the scenes and wp_hash_password() in turn implements the Portable PHP password hashing framework or phpass (pronounced “pH pass”). With this tool, you can convert a password to its hash code (or hash sum or checksum), which can then be used to set a new password directly in the WordPress MySQL database.




Just enter the password and press the “Hash this Phrase” button above.
Note: Any leading and trailing whitespace(s) will be trimmed from your password phrase.

The output format is: $hash_type$salt$password
If the hash does not use a salt, then there is no $ sign for that. The whole thing is stored in the WordPress database just like that. However, the actual password hash is really just the text after the last $ sign.

I created this tool with server administrators and web masters in mind – they often need to assist clients who lock themselves out of their WordPress websites. However, I’m sure it can easily be adapted to quite a lot of use cases. I have even needed to use it sometimes on my own websites and I wrote a detailed article explaining various methods you can use to regain access to a WordPress website that you locked yourself out of. Two of the four methods discussed in that article utilize this tool for generating the WordPress password hash code.

Another Note: If you hash the same password multiple times, it is completely normal for the output hash code to be different every time. This is by design. The underlying hashing function is designed to generate a random salt every time. The security advantage of this is that each hash will need to be broken individually instead of guessing one salt used for everything and having a huge leg up.

If you found this tool useful, or have a question, or want to request an enhancement, please leave me a comment using the comments box below. Happy hacking!

Found this article valuable? Want to show your appreciation? Here are some options:

  1. Spread the word! Use these buttons to share this link on your favorite social media sites.
  2. Help me share this on . . .

    • Facebook
    • Twitter
    • LinkedIn
    • Reddit
    • Tumblr
    • Pinterest
    • Pocket
    • Telegram
    • WhatsApp
    • Skype
  3. Sign up to join my audience and receive email notifications when I publish new content.
  4. Contribute by adding a comment using the comments section below.
  5. Follow me on Twitter, LinkedIn, and Facebook.

Related

Filed Under: Backend (Server-Side), Programming, Tools & Resources, WordPress Tagged With: Hashing, Password, Programming, Security, WordPress

About Ehi Kioya

I am a Toronto-based Software Engineer. I run this website as part hobby and part business.

To share your thoughts or get help with any of my posts, please drop a comment at the appropriate link.

You can contact me using the form on this page. I'm also on Twitter, LinkedIn, and Facebook.

Reader Interactions

Comments

  1. munene says

    December 31, 2019 at 5:13 am

    This has saved my ass today

    Reply
  2. Mike Dumont says

    December 23, 2021 at 11:46 am

    I use this tool all the time – it’s just that handy – many thanks!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

23,569
Followers
Follow
30,000
Connections
Connect
14,568
Page Fans
Like
  • Recently   Popular   Posts   &   Pages
  • Actual Size Online Ruler Actual Size Online Ruler
    I created this page to measure your screen resolution and produce an online ruler of actual size. It's powered with JavaScript and HTML5.
  • How To Install PHP Packages Without Composer How To Install PHP Packages Without Composer
    This article shows how to bypass the Composer barrier when installing Composer-dependent PHP packages. Great shortcut for PHP enthusiasts!
  • Fix For “Function create_function() is deprecated” In PHP 7.2 Fix For "Function create_function() is deprecated" In PHP 7.2
    As of PHP 7.2 create_function() has been deprecated because it uses eval(). You should replace it with an anonymous function instead.
  • About
  • Contact

© 2022   ·   Ehi Kioya   ·   All Rights Reserved
Privacy Policy