Secure software enclave for storage of sensitive information in memory.
This package attempts to reduce the likelihood of sensitive data being exposed. It supports all major operating systems and is written in pure Go.
Some features were inspired by libsodium, so credits to them.
Full documentation and a complete overview of the API can be found here. Interesting and useful code samples can be found within the examples subpackage.
$ go get github.com/egtann/memguard
API is experimental and may have unstable changes. You should pin a version. [modules]
memguard - high level easy to use wrapper over core functionality, with additional features
memguard/core - low level interface
Issues are for reporting bugs and for discussion on proposals. Pull requests should be made against master.