Versions in this module Expand all Collapse all v0 v0.2.0 Nov 18, 2018 Changes in this version + const DerivateArgon2id + const DerivateScrypt + const OldSaltLength + const SaltLength + var ErrRead = errors.New("read error") + var ErrUnsafe = errors.New("unsafe option") + var ErrUnsupported = errors.New("unsupported option") + var ErrWrite = errors.New("write error") + type Argon2Params struct + CostMemory uint32 + CostThreads uint8 + CostTime uint32 + KeyLength uint32 + type ScryptParams struct + CostN int + CostP int + CostParam int + KeyLength int + SaltLen int v0.1.0 Apr 9, 2018 Changes in this version + const Version + func NewReader(r io.Reader, strKey string) (io.Reader, error) + func NewWriter(w io.Writer, strKey string) (io.Writer, error) + type NaclPipe struct + func (c *NaclPipe) GetBufSize(size uint64) uint64 + func (c *NaclPipe) Read(p []byte) (n int, err error) + func (c *NaclPipe) Write(p []byte) (n int, err error)