//
pkg.gl
Category
github.com/indra-labs/indra
pkg
crypto
nonce
package
0.1.20
Repository:
https://github.com/indra-labs/indra.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
33
Files
55 SLOC
#
Functions
New
New reads a nonce from a cryptographically secure random number source.
NewID
NewID returns a random 8 byte nonce to be used as identifiers.
#
Constants
IDLen
No description provided by the author
IVLen
IVLen is the length of Initialization Vectors used in Indra.
#
Type aliases
ID
ID is a value generated by the first 8 bytes truncated from the values of a hash chain that reseeds from a CSPRNG at first use and every time it generates 2^16 (65536) new ID's.
IV
IV is an Initialization Vector for AES-CTR encryption used in Indra.