Skip to content

notwithering/memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory

MIT License

Memory is a simple package that provides helper functions to interact with the computer's memory from go.

Example

package main

import (
	"fmt"

	"github.com/notwithering/memory"
)

func main() {
	// data you do not want to be stored into memory for long
	var info string = "my super secret password"

	// zero out the data
	memory.Zero(&info)

	// there is no data to even print
	fmt.Println(info)
}

About

Package memory provides helpers functions that interact with the computer's memory from go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages