40d08139db
This allows the user to call it even after the store has been unlock in order to get the admin token.
10 lines
126 B
Go
10 lines
126 B
Go
package secretstore
|
|
|
|
func Memzero(ba []byte) { memzero(ba) }
|
|
|
|
func memzero(ba []byte) {
|
|
for i := range ba {
|
|
ba[i] = 0
|
|
}
|
|
}
|