local-server/secretstore/mem.go

10 lines
126 B
Go
Raw Normal View History

2023-02-07 20:29:19 +00:00
package secretstore
func Memzero(ba []byte) { memzero(ba) }
2023-02-07 20:29:19 +00:00
func memzero(ba []byte) {
for i := range ba {
ba[i] = 0
}
}