internal

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChaCha20Block

func ChaCha20Block(s *[16]uint32, out []byte, rounds int)

Types

type ChaCha20Stream

type ChaCha20Stream struct {
	// contains filtered or unexported fields
}

func NewChaCha20Stream

func NewChaCha20Stream(key []byte, nonce []byte, rounds int) *ChaCha20Stream

func (*ChaCha20Stream) XORKeyStream

func (s *ChaCha20Stream) XORKeyStream(dst, src []byte)

Jump to

Keyboard shortcuts

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