crypt

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomBytes

func RandomBytes(size uint) []byte

RandomBytes will return a byte array containing `size` random bytes.

func RandomUint64

func RandomUint64() uint64

RandomUint64 will generate 8 random bytes and return them as a uint64.

func ZeroBytes

func ZeroBytes(data ...[]byte)

ZeroBytes will iterate each given array and set each byte to 0.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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