//
pkg.gl
Category
github.com/iotaledger/hive.go/core
autopeering
salt
package
1.0.0-rc.3
Repository:
https://github.com/iotaledger/hive.go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
2
Files
71 SLOC
#
Packages
proto
No description provided by the author
#
Functions
FromProto
FromProto decodes a given proto buffer Salt message (in) and returns the corresponding Salt.
NewSalt
NewSalt generates a new salt given a lifetime duration.
Unmarshal
Unmarshal de-serializes a given slice of bytes (data) into a Salt.
#
Constants
SaltByteSize
SaltByteSize specifies the number of bytes used for the salt.
#
Structs
Salt
Salt encapsulates high level functions around salt management.