adiantum: lukechampine.com/adiantum Index | Files | Directories

package adiantum

import "lukechampine.com/adiantum"

Index

Package Files

adiantum.go

func New Uses

func New(key []byte) *hbsh.HBSH

New returns an Adiantum cipher with the specified key. The key must be 32 bytes.

func New20 Uses

func New20(key []byte) *hbsh.HBSH

New20 returns an Adiantum cipher with the specified key, using XChaCha20 as the stream cipher. The key must be 32 bytes.

func New8 Uses

func New8(key []byte) *hbsh.HBSH

New8 returns an Adiantum cipher with the specified key, using XChaCha8 as the stream cipher. The key must be 32 bytes.

Directories

PathSynopsis
hbsh
hpolyc
internal/xchacha
nh

Package adiantum imports 9 packages (graph). Updated 2019-07-06. Refresh now. Tools for package owners.