skein

package
v1.0.2069 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 64

BlockSize is the block size of Skein-512 in bytes.

Variables

This section is empty.

Functions

func NewCipher

func NewCipher(key []byte, nonce []byte) cipher.Stream

NewCipher returns a cipher.Stream for encrypting a message with the given key and nonce. The same key-nonce combination must not be used to encrypt more than one message. There are no limits on the length of key or nonce.

Types

This section is empty.

Jump to

Keyboard shortcuts

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