chacha20 – github.com/nakagami/chacha20 Index | Files

package chacha20

import "github.com/nakagami/chacha20"

Index

Types

type Cipher

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

func NewCipher

func NewCipher(key [32]byte, count uint32, nonce [12]byte) *Cipher

func (*Cipher) XORKeyStream

func (c *Cipher) XORKeyStream(dst, src []byte)

Source Files

chacha20.go

Version
v0.0.0
Published
Jan 9, 2025
Platform
js/wasm
Imports
3 packages
Last checked
now

Tools for package owners.