ChaCha20.block

Performs the ChaCha block function on inState, result in outState

  1. void block(uint[16] inState, uint[16] outState)
  2. void block(uint[16] inState, ubyte[16 * 4] outState)
    struct ChaCha20
    package @safe nothrow @nogc static pure
    void
    block
    (
    uint rounds = 20
    )
    (
    in ref uint[16] inState
    ,
    ref ubyte[16 * 4] outState
    )

Parameters

inState uint[16]

the state created with initState()

outState ubyte[16 * 4]

buffer for the new state

Meta