Stream-ciphers
eStream
In order to understand hex and type parameters read HASH
Sosemanuk
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
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
Was this helpful?