Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

crypt

Not Rehashing Properly

November 27, 2022 by Magenaut

We have a PHP class that reads the database on user credentials, rehash SHA1 => BCrypt as needed. Works great, however these days we are developing a WinForms app, and using Chilkat BCrypt assembly we are noticing weird effects to the rehashing procedure.

Categories MySQL, Q&A Tags crypt, hash, mysql, passwords, php Leave a comment

Crypt() salt generation and password encryption, well executed?

November 16, 2022 by Magenaut

these are some functions I am using for password encryption and password verification. Was wondering if this is a good way to handle it. I am using the codeigniter framework.

Categories MySQL, Q&A Tags codeigniter, crypt, mysql, php, salt Leave a comment

Why does crypt/blowfish generate the same hash with two different salts?

October 18, 2022 by Magenaut

This question has to do with PHP’s implementation of crypt(). For this question, the first 7 characters of the salt are not counted, so a salt ‘$2a$07$a‘ would be said to have a length of 1, as it is only 1 character of salt and seven characters of meta-data.

Categories PHP, Q&A Tags blowfish, crypt, hash, php, salt Leave a comment

Crypt for password hashing. Blowfish produces weird output

October 14, 2022 by Magenaut

I am having a bit little bit of trouble understanding php’s crypt function. My PHP version is 5.4.7.

Categories PHP, Q&A Tags blowfish, crypt, password-hash, passwords, php Leave a comment

What is the correct format for a blowfish salt using PHP’s crypt?

October 13, 2022 by Magenaut

I have read the information provided on the PHP Manual Entry for crypt(), but I find myself still unsure of the format for a salt to trigger the Blowfish algorithm.

Categories PHP, Q&A Tags blowfish, crypt, hash, php, salt Leave a comment

SHA256-CRYPT / SHA512-CRYPT in node.js

September 29, 2022 by Magenaut

I use dovecot as my mail transfer agent and I aim to use the strongest password scheme which is supported by my system: SHA512-CRYPT or SHA256-CRYPT (BLF-CRYPT doesn’t work).

Categories Node.js, Q&A Tags crypt, node.js, sha256, sha512 Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress