Registry / crypto / awnumar-memguard

awnumar-memguard

JSON →
library0.23.0gogounverified

Secure software enclave for storage of sensitive information in memory.

go get github.com/awnumar/memguard
INSTALL
IMPORT
SIG · AWNUMAR-MEMGUARD
A
awnumar-memguard
cryptogov0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

memguard
github.com/awnumar/memguard

Store and retrieve sensitive data securely

package main import ( "fmt" "github.com/awnumar/memguard" ) func main() { enclave, _ := memguard.NewEnclave([]byte("secret")) buf, _ := enclave.Open() defer buf.Destroy() fmt.Println(string(buf.Bytes())) }
Debug
Known issues
gotchaMemory clearing may not work on all platforms due to compiler optimizations
fix
Use memguard's provided functions for secure memory handling; avoid manual byte manipulation
affects: all
Upgrade
Version history
0.23.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
awnumar-memguard — go get awnumar-memguard · libregistry