Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + const SkewWindow + const TokenSize + var ErrBadSignature = errors.New("walletauth: bad signature") + var ErrBadToken = errors.New("walletauth: bad token") + var ErrReplay = errors.New("walletauth: replay on authentication") + var Rand = rand.Reader + func IsReplay(err error) (uint64, error) + type AuthToken []byte + func CreateToken(pubkey *[ed25519.PublicKeySize]byte, privkey *[ed25519.PrivateKeySize]byte, ...) AuthToken + func (token AuthToken) CheckToken() (pubkey *[ed25519.PublicKeySize]byte, ltime, lcounter uint64, err error) + func (token AuthToken) Hash() []byte