Professional Documents
Culture Documents
BlowFish (Cipher) 20161124
BlowFish (Cipher) 20161124
BlowFish (Cipher) 20161124
BlowFish (cipher) :
why???
BlowFish (cipher)
BlowFish (cipher)
Copyright:
Schneier has stated that, "Blowfish is
unpatented, and will remain so in all
countries. The algorithm is hereby
placed in thepublic domain, and can be
freely used by anyone.
BlowFish (cipher)
It is known for both its tremendous speed
and overall effectiveness.
It uses simple operations (XOR, Addition,
modulo & lookup tables), which are simply
implemented on microprocessors.
Applications:
One of the fastest block ciphers in public use, making it
ideal for a product like SplashID that functions on a wide
variety of processors found in:
Mobile phones, as well as in notebook and desktop computers
The algorithm
symmetric-key,block cipher
Block size: 64-bit
key length: variable(from 32 bits up to
448 bits).
16-roundFeistel cipher
uses large key-dependentS-boxes
s
wfi
Bl o
ip
hc
her
The algorithm
P (64 bits)
32 bits
32 bits
K [1] .. K [16]
15 rounds
K [18]
K [17]
32 bits
32 bits
C (64 bits)
s
wfi
Bl o
ip
hc
her
F-function
32
bits
32
bits
s
wfi
Bl o
ip
hc
her
Sub-keys generation
Algorithm
Given a key of 448 bits
Key schedule generates:
18x(32/8) + 256x4x(32/8) = 4,168
bytes of sub keys
Key K =
K0 kn
Key K=
K0 k n
K0 k n
K0
ki
Sub-keys generation
Algorithm
S1,0,
S2,0,
S3,0,
S4,0,
S1,1,...,
S2,1,..,,
S3,1,...,
S4,1,..,,
S1,255;
S2,255;
S3,255;
S4,255.
0x3.243F6 A8885 A308D 31319 8A2E0 37073 44A40 93822 299F3 1D008 2EFA9 8EC4E 6C894 52821 E638D 01377 BE546 6CF34 E90C6 CC0AC
=
=
=
=
0x243F6A88
0X85A308D3
0X13198A2E
0X03707344
Sub-keys generation
Algorithm
Sub-keys generation
Algorithm
S1,0,
S2,0,
S3,0,
S4,0,
S1,1,...,
S2,1,..,,
S3,1,...,
S4,1,..,,
S1,255;
S2,255;
S3,255;
S4,255.
Sub-keys generation
Algorithm
S1,0,
S2,0,
S3,0,
S4,0,
S1,1,...,
S2,1,..,,
S3,1,...,
S4,1,..,,
S1,255;
S2,255;
S3,255;
S4,255.
THANKS
https://en.wikipedia.org/wiki/Blowfish_(cipher)#
cite_note-3
http://www.splashdata.com/splashid/blowfish.htm
http://
www.unige.ch/medecine/nouspikel/ti99/blowfish.htm