Page 1 of 1

Blowfish Strength

Posted: Fri 09 Oct 2015 15:01
by MikeD
What level of strength is the blowfish encryption?

Re: Blowfish Strength

Posted: Mon 12 Oct 2015 11:43
by MaximG
Please describe in more details, what do you mean by "level of strength" of the Blowfish algorithm ?

Re: Blowfish Strength

Posted: Wed 14 Oct 2015 15:43
by MikeD
The key length. As in 32 to 448 bits.

Re: Blowfish Strength

Posted: Fri 16 Oct 2015 09:28
by MaximG
The blowfish algorithm uses variable key length from 32 to 448 bits. When using our component TLiteEncryptor, you can set the encryption key in 2 different ways:

1. By setting the Password property. Thus, the encryption key will be retrieved by hashing the value of the Password property and will have fixed length - 256 bits. Learn more at https://www.devart.com/litedac/docs/?de ... ssword.htm

2. Using the SetKey method, when the key length can be specified explicitly. At this, note that the key length in the SetKey method is specified in bytes. Therefore, in case with the Blowfish algorithm, you can specify the key length from 4 to 56 bytes. See more details at https://www.devart.com/litedac/docs/?de ... int32).htm

Re: Blowfish Strength

Posted: Fri 16 Oct 2015 14:24
by MikeD
I guess I could have been a bit more clear, sorry about that. I'm using a TLiteConnection component, in Direct Mode, Blowfish Encryption with a user provided password (EncryptionKey).

Re: Blowfish Strength

Posted: Mon 19 Oct 2015 08:47
by MaximG
When using database file encryption with the Blowfish algorithm, the encryption key will be retrieved by hashing the value of the LiteConnection.EncryptionKey property and will have fixed length - 256 bits.