Skip to content

jbenet/go-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-random outputs randomness

This is a unix util that outputs randomness. It is a thin wrapper around crypto/rand. It aims to be portable (though it may not yet be).

Install

go install github.com/jbenet/go-random/random

(The extra /random is there because go get is stupidly too proscriptive about package/repository names and I don't yet know how to change the default binary output name)

Usage:

> random
Usage: random <int>
Print <int> random bytes (from Go's crypto/rand)
> random 6
2q���#

License

MIT

About

output randomness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages