Help for this page

Select Code to Download


  1. or download this
    $ perl bcrypt_2a
    Plain password is bcrypt as $2a$10$q4VIJI0lTJBh4O6Kfo/f/uwvN4CQWPbFutc
    +8hO8bKmn3Rz6qV4xcS
    Valid Password password
    
  2. or download this
    $ perl bcrypt_2y
    bad bcrypt settings at bcrypt_2y line 22
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    sub salt {
      return Crypt::Eksblowfish::Bcrypt::en_base64(Crypt::Random::makerand
    +om_octet(Length=>16));
    }
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    sub salt {
      return Crypt::Eksblowfish::Bcrypt::en_base64(Crypt::Random::makerand
    +om_octet(Length=>16));
    }