Tiny module for accessing random bytes
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
rockspec
src
.gitignore
LICENSE
README.md

README.md

randbytes

Tiny module for reading random bytes, and simple number generation, on Unix-like platforms.

Dependencies

  • Unix-like platform (Linux, OS X)
  • Lua, 5.1 or greater
  • Easy install with: LuaRocks

Usage

Install the module.

$ luarocks install randbytes

Require the module.

randbytes = require 'randbytes'

Use the module.

randbytes ()

Explore the module.

Documentation

If you haven't noticed, documentation can be found here.

License

MIT just like Lua.


Enjoy!

oka.io