crypto

package
v0.0.0-...-eafbfb8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MemIsZero

func MemIsZero(buf []byte) bool

MemIsZero returns true if all bytes in the buffer buf are 0.

func Memwipe

func Memwipe(buf []byte)

Memwipe santizes the buffer buf.

func NewTweakedShake256

func NewTweakedShake256(rand io.Reader, tweak []byte) (sha3.ShakeHash, error)

NewTweakedShake256 creats a new SHAKE256 instance, and writes the provided tweak followed by 256 bits of entropy from the provided source.

Types

This section is empty.

Directories

Path Synopsis
Package ecdh provides support for ECDH with the IETF CFRG Curves as specified in RFC 7748.
Package ecdh provides support for ECDH with the IETF CFRG Curves as specified in RFC 7748.
Package rand provides various utitilies related to generating cryptographically secure random numbers and byte vectors.
Package rand provides various utitilies related to generating cryptographically secure random numbers and byte vectors.

Jump to

Keyboard shortcuts

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