cipher

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(rand io.Reader) (publicKey, privateKey *[32]byte, err error)

GenerateKey is the same as box.GenerateKey but uses X25519 rather than ScalarBaseMult and incudes additional error checking.

Types

This section is empty.

Directories

Path Synopsis
Package aead provides a block cipher using aead.GCM with AES 256 encryption.
Package aead provides a block cipher using aead.GCM with AES 256 encryption.
Package naclbox provides a block cipher using nacl/{box,secretbox}
Package naclbox provides a block cipher using nacl/{box,secretbox}

Jump to

Keyboard shortcuts

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