Skip to content

Mtxity/MtxRndm

Repository files navigation

MtxRndm

Random number API

How it works

  1. You ask for a random number
  2. We give you one generated from the IP of the requestor before you
  3. We save your IP to use as a seed for the next request

Endpoints

  • /randomseed - Gets you a random long value for use as a seed for your own RNG
  • /randomseed/ownHistory - Uses your own request history for random generation too (If request history is enabled)
  • /randomseed/ownHistory/getFullIpHistory - Fetches your own request history on log (If request history is enabled)
  • /randomseed/layered - Uses a combination of system details and request information to generate the seed (In addition to the last IP)
  • /randomseed/layer/{value}/{times} - Runs the same process as above but with the given value as a start and run number of times specified
  • /info - Gets the sales pitch
  • /healthcheck - Gets at-a-glance details, and gets the system values used for RNG if debug param is passed

About

Random seed generated from the last guy's IP address

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages