xchacha

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const KeySize = chacha.KeySize

KeySize is the size of an XChaCha key.

View Source
const NonceSize = chacha.XNonceSize

NonceSize is the size of an XChaCha nonce.

Variables

This section is empty.

Functions

func XORKeyStream

func XORKeyStream(dst, src, nonce, key []byte, rounds int)

XORKeyStream xors the bytes of src with the key stream derived from the key and nonce.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL