Questions tagged [salsa20]

Salsa20 by Daniel J. Bernstein is a family of stream ciphers built on a pseudo-random function.

Salsa20 by Daniel J. Bernstein is a family of stream ciphers built on a pseudo-random function.

The algorithm uses XOR, rotation operations, and 32-bit addition. It is pretty fast while mapping a 256-bit key, a 64-bit nonce, and a 64-bit stream position to a 512-bit output.

89 questions
9
votes
1 answer

The Salsa20 core preserves diagonal shifts?

What do we mean by the Salsa core preserves diagonal shifts
BHARTI
  • 149
  • 3
2
votes
1 answer

Output size of Salsa20

Salsa12 is in eStream portfolio. How many random bits one can generate in Salsa12 using single key? Is it $512\times 2^{128}$?
user5020
  • 23
  • 2
2
votes
1 answer

Salsa20 offers speeds of around 4–14 cycles per byte, but is it parallelized?

On Wikipedia: https://en.wikipedia.org/wiki/Salsa20#cite_note-5 they wrote Salsa20 offers speeds of around 4–14 cycles per byte in software on modern x86 processors. But is it implemented that way, it performs some operations in parallel? If so, how…
Tom
  • 1,221
  • 6
  • 16
1
vote
1 answer

What's the safest way to encrypt a messenger application?

How can I safely encrypt a messenger application that sends data over the Internet via TCP? I've already taken a look at Salsa20, but I don't know if that's a good algorithm to use for this. What algorithms can I use for this and how secure are…
thebear8
  • 123
  • 5
0
votes
1 answer

is this implementation real salsa20?

https://raw.githubusercontent.com/andres-erbsen/salsa20/master/salsa20.c I tried it, and it's working fine. Now question: is it real salsa20?