dcrypt.crypto.engines.salsa

Undocumented in source.

Public Imports

dcrypt.crypto.streamcipher
public import dcrypt.crypto.streamcipher;

Members

Aliases

Salsa20
alias Salsa20 = Salsa!20
Undocumented in source.
Salsa20Engine
alias Salsa20Engine = StreamCipherWrapper!Salsa20
Undocumented in source.
XSalsa20
alias XSalsa20 = Salsa!(20, true)
Undocumented in source.
XSalsa20Engine
alias XSalsa20Engine = StreamCipherWrapper!XSalsa20
Undocumented in source.

Functions

HSalsa
ubyte[32] HSalsa(ubyte[] key, ubyte[] nonce)

HSalsa as defined in http://cr.yp.to/snuffle/xsalsa-20110204.pdf

Structs

Salsa
struct Salsa(uint rounds = 20, bool xsalsa = false)

implementation of the Salsa20/20 stream cipher

Meta