Versions in this module Expand all Collapse all v1 v1.0.0 May 10, 2019 Changes in this version + const CipherSeedVersion + const CipherTextExpansion + const DecipheredCipherSeedSize + const EncipheredCipherSeedSize + const EntropySize + const NummnemonicWords + var BitcoinGenesisDate = time.Unix(1231006505, 0) + var ErrIncorrectMnemonic = fmt.Errorf(...) + var ErrIncorrectVersion = fmt.Errorf("wrong seed version") + var ErrInvalidPass = fmt.Errorf("invalid passphrase") + type CipherSeed struct + Birthday uint16 + Entropy [EntropySize]byte + InternalVersion uint8 + func New(internalVersion uint8, entropy *[EntropySize]byte, now time.Time) (*CipherSeed, error) + func (c *CipherSeed) BirthdayTime() time.Time + func (c *CipherSeed) Encipher(pass []byte) ([EncipheredCipherSeedSize]byte, error) + func (c *CipherSeed) ToMnemonic(pass []byte) (Mnemonic, error) + type ErrUnknownMnenomicWord struct + func (e ErrUnknownMnenomicWord) Error() string + type Mnemonic [NummnemonicWords]string + func (m *Mnemonic) ChangePass(oldPass, newPass []byte) (Mnemonic, error) + func (m *Mnemonic) Decipher(pass []byte) ([DecipheredCipherSeedSize]byte, error) + func (m *Mnemonic) ToCipherSeed(pass []byte) (*CipherSeed, error)