std1.0.0-beta-7 SafeC docs

std :: crypto::chacha20

Function std::chacha20_block

#include <std/crypto/chacha20.h> source ยท definition

void chacha20_block(
    []const unsigned char key,
    []const unsigned char nonce,
    unsigned int counter,
    []unsigned char out,
)

Writes the 64-byte ChaCha20 block 'counter' for (key, nonce).