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 []byte, nonce []byte, count uint64) (*Cipher, error)

func (*Cipher) XORKeyStream

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

Source Files

chacha20.go

Version
v0.1.0 (latest)
Published
Jan 11, 2025
Platform
darwin/amd64
Imports
4 packages
Last checked
now

Tools for package owners.