//
pkg.gl
Category
github.com/unit-io/unitdb
server
internal
pkg
crypto
package
0.2.0
Repository:
https://github.com/unit-io/unitdb.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
68 SLOC
#
Functions
New
New builds a new MAC using a 256-bit/32 byte encryption key, a numeric epoch and numeric pseudo-random salt.
Signature
No description provided by the author
SignatureToUint32
No description provided by the author
#
Constants
EpochSize
No description provided by the author
MessageOffset
No description provided by the author
#
Structs
MAC
MAC has the ability to encrypt and decrypt (short) messages as long as they share the same key and the same epoch.