Stream-ciphers

eStream

eStream projectarrow-up-right

Stream ciphers video - 1 arrow-up-right

Stream ciphers video - 2 arrow-up-right

In order to understand hex and type parameters read HASHarrow-up-right

Sosemanuk

specarrow-up-right

Description: Stream cipher and eStream winner.

Uses: Performance is very impportant.

Key size: from 128 to 256 bits, guaranteed security is only 128 bits.

Iv size: 128 bits

Salsa20

specarrow-up-right

Description: Stream cipher and eStream winner.

Uses: Performance is very impportant.

Key size: varibale

Iv size: 64 bits

How to ???

In this example we encrypt and decrypt Hello world! string with the key and iv given

On data_js["algorithm"] can be SOSEMANUK or SALSA20

Json to enc string (key and iv depends on algorithm you chose)

Json to dec string (key and iv depends on algorithm you chose)

Json to enc file (key and iv depends on algorithm you chose)

Json to dec file (key and iv depends on algorithm you chose)

Last updated