Versions in this module Expand all Collapse all v0 v0.1.0 Dec 15, 2021 Changes in this version + const AlphaNumeric + const AlphaNumericSymbol + const DefaultCodeset + const DefaultDivisor + const EncloseEscape + const OracleCodeset + func B2s(b []byte) string + func Base64(b []byte) string + func Debase64(s string) ([]byte, error) + func Decrypt(secret, data []byte, iteration int) ([]byte, error) + func Encrypt(secret, data []byte, iteration int) ([]byte, error) + func FNV(b []byte, n uint32) uint32 + func HMAC(key, data []byte) []byte + func HMACFNV(x, y []byte, max uint32) uint32 + func InitSPIKey() ([]byte, error) + func KDF(secret []byte, keyCount, keyLen int) ([][]byte, error) + func KeyGen(codebook string, x, y []byte, keyLen, iteration int) func(string, string, string, int) ([]string, error) + func MakeCodebook(codeset, mask string) string + func Power2(n int64) int64 + func RandomBytes(size int) ([]byte, error) + func S2b(s string) []byte + func SPA(secret, salt []byte, keyLen, iteration int) ([]byte, error) + func SPAKDF(raw, salt []byte, keyCount, keyLen, iteration int) ([][]byte, error) + func SPIHash(secret, key []byte) []byte + func SPIKey(secret, key, newSecret []byte) []byte + func SpaceOut(s string, divisor int) string