Top "Crypt" questions

crypt() is Unix C library function used for hashing passwords.

crypt function and link error "undefined reference to 'crypt'"

I have used the crypt function in c to encrypt the given string. I have written the following code, #include&…

c linker-errors crypt
Is there a way to reverse a crypt() in c?

Not sure if this is possible but I want to be able to start with a string, and then figure …

c hash crypt
Correctly using crypt() with SHA512 in PHP

All the examples online show the use of crypt like this: $pass = crypt('something','$6$rounds=5000$anexamplestringforsalt$'); But everyone …

php password-encryption crypt
Python crypt module -- what's the correct use of salts?

First, context: I'm trying to create a command-line-based tool (Linux) that requires login. Accounts on this tool have nothing to …

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

This question has to do with PHP's implementation of crypt(). For this question, the first 7 characters of the salt are …

php hash salt blowfish crypt
Python crypt module

I was looking up on python modules, when I found something called 'crypt'. I do not understand. I have tried …

python python-3.x encryption module crypt
What is the output length of PHP crypt()?

what's the output length of PHP crypt()? md5() output is 128 bits and produce a string with 32 chars, so in data …

php hash crypt
Where 2x prefix are used in BCrypt?

The question is the same title, Where $2x$ is used in BCrypt? The following scenario is right? We have a …

php bcrypt crypt
Which hashing algorithm provides the longest output?

I was curious about which hashing method usable by PHP's crypt function provides the longest output, and also, if the …

php hash crypt
Using ruby to generate SHA512 crypt-style hashes formatted for /etc/shadow?

I want to generate SHA512 hashed passwords for inclusion directly into a /etc/shadow file for use with chef's user …

ruby encryption passwords sha crypt