Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6183971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:27:23+00:00 2026-05-24T01:27:23+00:00

I want to use Blowfish hashing to hash password. crypt() does not support it

  • 0

I want to use Blowfish hashing to hash password.

crypt() does not support it in PHP versions prior to 5.3

My PHP version is 5.2.14. How can I use Blowfish hashing? Can I use PEAR’s Crypt_Blowfish instead?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:27:24+00:00Added an answer on May 24, 2026 at 1:27 am

    PEAR’s Crypt_Blowfish is meant to stand in for PHP’s MCrypt extension – it’s a two-way encryption scheme, not for hashing. While bcrypt is based on Blowfish, it’s not the same thing. Confusingly, PHP 5.3.0’s CRYPT_BLOWFISH is a hashing algorithm.

    Is there a reason why upgrading to PHP 5.3.0+ would not be possible? This isn’t something you want to try to implement yourself. If you can, phpass is a great way to do bcrypt-based password hashing securely. If you absolutely can’t upgrade, phpass falls back to older hashing schemes (but it’s still more secure than plain MD5, etc).

    If for some reason you can install Suhosin but not upgrade PHP, that would add CRYPT_BLOWFISH support.

    To make sure you don’t currently have CRYPT_BLOWFISH installed, try the following:

     echo (CRYPT_BLOWFISH === 1) ? 'CRYPT_BLOWFISH is enabled!' : 'CRYPT_BLOWFISH is not available'; 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use crypt() CRYPT_BLOWFISH hashing. Since PHP version is 5.2.14, CRYPT_BLOWFISH is
I want use BYTE_ORDER macro in my Xcode project but i can't because i
I want use a single php file to handle all of my voting requests.
I want use MVVM design pattern in WPF and Silverlight Application. Where can i
Example I want use the_excerpt in two locations. On functions.php I add function new_excerpt_length($length)
I want use a Redis server with a PHP Site hosted on a MediaTemple
I want use many bitmap for my game canvas. I can't Recycle bitmaps, because
I want use 1000 separator(,) for numeric values. how can i format strings with
First, my question is not about password hashing, but password encryption. I'm building a
I want use page that has this form: <form method=post action=modules.php?name=search> <input onkeypress=FKeyPress(this); onkeydown=FKeyDown(this);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.