awnumar / memguard

Secure software enclave for storage of sensitive information in memory.
Apache License 2.0
2.49k stars 124 forks source link

Use libsodium's MemZero #2

Closed awnumar closed 7 years ago

fjl commented 7 years ago

It feels weird to require a C library and associated cgo wrapper code to zero some bytes.

awnumar commented 7 years ago

@fjl haven't yet finalised if I'm going to use it. Seems a bit heavyweight for what it's being used for.