crypt Questions
2
Solved
Possible Duplicate:
Best way to use PHP to encrypt and decrypt passwords?
I've been doing a lot with PHP recently and want to make my first login/registration system. As such I've bee...
4
Solved
what's the output length of PHP crypt()?
md5() output is 128 bits and produce a string with 32 chars, so in data base you put that in a char(32) column, what about the crypt()?
1
I was curious about which hashing method usable by PHP's crypt function provides the longest output, and also, if the length of the output was relative at the chance of their being a collision of t...
4
Solved
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 ...
Transaction asked 8/2, 2010 at 23:39
4
Solved
For example with blowfish it returns something like:
$2a$12$DEzG.CRsHpxpTOAHooQ.wuR6Xe9h6PxFPhOcOvf.lqDNw1TVYVnEO
That contains info about the type of hashing alg and it contains the salt. A lot ...
1
Solved
I'm currently implementing a login system. I want to store the password and the salt in a database. Now I found out that there is a hash() and a crypt() function which seems to do the same (valid f...
Shelter asked 23/4, 2012 at 13:22
2
Solved
I am working on a script and need to save passwords. For development purposes, I have been using the crypt() function because it was easy and available. Now that I am mostly done, I want to replace...
1
Solved
According to PHP's doc, bcrypt salt are made of
"$2a$", a two digit cost parameter, "$", and 22 digits from the alphabet "./0-9A-Za-z"
So, if i use the crypt() function to hash my passwords, ...
Dirge asked 8/9, 2011 at 15:32
5
Solved
Possible Duplicate:
Secure hash and salt for PHP passwords
I am making a website, and I need a secure algorithm to store passwords.
I was first thinking of bcrypt, but then I found ou...
2
Solved
I'm using GCC 4.6.0 (on an otherwise unidentified platform).
I am using the crypt() function to encrypt a password.
I have never used that function before so I checked out the main page:
man 3 c...
4
Solved
I am using the below code that i found somewhere in the net and i am getting an error when i try to build it. The compilation is ok.
Here is the error:
/tmp/ccCnp11F.o: In function `main':
crypt...
Sole asked 13/5, 2011 at 8:48
1
Solved
I want to generate SHA512 hashed passwords for inclusion directly into a /etc/shadow file for use with chef's user resource. Normally I'd go to the stdlib's Digest library for this, but it doesn't ...
Ostracism asked 2/3, 2011 at 18:3
2
Solved
1) How do you create secure Blowfish hashes of passwords with crypt()?
$hash = crypt('somePassword', '$2a$07$nGYCCmhrzjrgdcxjH$');
1a) What is the significance of "$2a"? Does it just indicate th...
5
Solved
I have some strings that have been encrypted using the PHP function crypt().
The outputs look something like this:
$1$Vf/.4.1.$CgCo33ebiHVuFhpwS.kMI0
$1$84..vD4.$Ps1PdaLWRoaiWDKCfjLyV1
$1$or1.RY4...
Hannus asked 20/1, 2009 at 15:36
1
Solved
Here is the example from the PHP manual page for crypt():
<?php
$password = crypt('mypassword'); // let the salt be automatically generated
/* You should pass the entire results of crypt() as ...
1
Solved
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.
According manual entry, I should...
Mississippian asked 8/2, 2010 at 23:21
2
Solved
From crypt(3) - Linux man page:
char *crypt(const char *key, const char *salt);
Return Value:
A pointer to the encrypted password is returned. On error, NULL is returned.
Since the return value...
7
Solved
Not sure if this is possible but I want to be able to start with a string, and then figure out what the input must be into the crypt in order to get this string out.
Or maybe it's impossible, whic...
5
Solved
crypt(text,"k7")
I looked it up and apparently 'k7' is the salt, but I have no idea what that means nor what type of output will come from that, anyone know?
3
Solved
I'm planning to use jBCrypt for password hashing in a new web application, as it is supposed to be the best from what I've read. As I haven't used it before I'm looking into if there is any reason ...
8
Solved
First, context: I'm trying to create a command-line-based tool (Linux) that
requires login. Accounts on this tool have nothing to do with
system-level accounts -- none of this looks at /etc/passwd....
Verona asked 1/12, 2008 at 3:31
© 2022 - 2024 — McMap. All rights reserved.