Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

🔁 MIGRATED 🔁

This has been changed into a more broad repo here

Zero

MIT License

Zero is a very simple package that takes any input of any data type and zeros it from memory, making it unusable and unreadable in memory.

This is especially useful for when you're dealing with sensitive data that needs to be quickly removed from memory.

This package also provides plenty of tests to ensure that each function works as expected.

Example

package main
import (
"fmt""github.com/notwithering/zero"
)
funcmain() {
// data you do not want to be stored into memory for longvarinfostring="my super secret password"// zero out the datazero.Zero(&info)
// there is no data to even printfmt.Println(info)
}

About

🔁 MIGRATED 🔁 Package that takes any input of any data type and zeros it from memory

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages