Salt size

Salt size

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Salt size Kless 07-15-2008
Posted by Kless on July 15, 2008, 4:24 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Which size is recommended for a salt?

The 'bcrypt' hash algorithm (created by OpenBSD) uses a size of 128
bits (16 bytes).

Posted by Unruh on July 15, 2008, 7:06 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

>Which size is recommended for a salt?

Ffor what? The answer could be anywhere from 0 bytes to 1000 bytes.


>The 'bcrypt' hash algorithm (created by OpenBSD) uses a size of 128
>bits (16 bytes).

Posted by Kless on July 15, 2008, 7:22 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
To get a hashed password, using SHA-256 algorithm.

> >Which size is recommended for a salt?
>
> Ffor what? The answer could be anywhere from 0 bytes to 1000 bytes.
>
> >The 'bcrypt' hash algorithm (created by OpenBSD) uses a size of 128
> >bits (16 bytes).


Posted by Unruh on July 15, 2008, 8:59 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

>To get a hashed password, using SHA-256 algorithm.

Again for what? ARe you designing a system? Is this a system in use?

The purpose of the salt is to prevent the attacker from launching a
predetermined dictionary attack. Thus they could precompute the SHA has of
a huge dictionary and compare to the hashed password. If you have salted
it, they would need to precalculate n times as large a database where n is
the number of salts. If y ou are designing the thing, then it is up to you
to decide what value of n is big enough.
128 bits means that n is 2^128=10^40 .



>> >Which size is recommended for a salt?
>>
>> Ffor what? The answer could be anywhere from 0 bytes to 1000 bytes.
>>
>> >The 'bcrypt' hash algorithm (created by OpenBSD) uses a size of 128
>> >bits (16 bytes).


Posted by Kless on July 16, 2008, 4:41 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> >To get a hashed password, using SHA-256 algorithm.
>
> Again for what? ARe you designing a system? Is this a system in use?

I've been designing a system for hash the password (of web
applications) of secure way.

http://github.com/kless/tw.registra/tree/master/tw/Registra/lib/sec.py

Similar ThreadsPosted
Encryption size October 25, 2005, 3:13 am
Ethereal: More Info Than Frame Size??? June 18, 2005, 9:18 am
Minimize key size for sending only 10 messages April 18, 2006, 3:59 am
Minimize key size for sending only 10 messages April 18, 2006, 4:00 am

The site map in XML format XML site map

Contact Us | Privacy Policy