Documentation ¶
Index ¶
- func Int32ToBytes(i int32) ([]byte, error)
- func MakeAesKey(password, salt []byte, scryptIterations, aesKeySize int) ([]byte, error)
- func MakeCipherBlock(password, salt []byte, iterations, aesKeySize int) (cipher.Block, error)
- func RandomBytes(size int) ([]byte, error)
- func ReadBytes(r io.Reader, size int) ([]byte, error)
- func ReadInt32(r io.Reader) (b []byte, i int32, err error)
- type ReadCloser
- type WriterWithMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int32ToBytes ¶
func MakeAesKey ¶
func MakeCipherBlock ¶
func RandomBytes ¶
Types ¶
type ReadCloser ¶
type WriterWithMeta ¶
type WriterWithMeta struct {
// contains filtered or unexported fields
}
func NewWriterWithMeta ¶
func NewWriterWithMeta(meta io.WriterTo, w io.Writer) *WriterWithMeta
Click to show internal directories.
Click to hide internal directories.