Releases: awnumar/memguard
Releases · awnumar/memguard
v0.16.3
It is now possible to construct a LockedBuffer object directly from an io.Reader
.
Added
func NewBufferFromReader(r io.Reader, size int) *LockedBuffer { /* ... */ }
func NewBufferFromReaderUntil(r io.Reader, delim byte) *LockedBuffer { /* ... */ }
Reading from standard input is now trivially:
b := NewBufferFromReaderUntil(os.Stdin, '\n')
v0.16.2
v0.16.1
v0.16.0
This release includes breaking changes.
The highlight of this version is the ability to store sensitive information in encrypted form, decrypting it when and where it is immediately needed. There are lots of other changes introduced in this version. See the documentation for more details: https://godoc.org/github.com/awnumar/memguard
v0.15.1
v0.15.0
v0.14.0
This release adds support for extra datatypes, i.e. alternative ways of representing the data stored in a LockedBuffer. This is accomplished via the following new methods:
func (b *LockedBuffer) Uint8() ([]uint8, error)
func (b *LockedBuffer) Uint16() ([]uint16, error)
func (b *LockedBuffer) Uint32() ([]uint32, error)
func (b *LockedBuffer) Uint64() ([]uint64, error)
func (b *LockedBuffer) Int8() ([]int8, error)
func (b *LockedBuffer) Int16() ([]int16, error)
func (b *LockedBuffer) Int32() ([]int32, error)
func (b *LockedBuffer) Int64() ([]int64, error)