Jump to content
  • Advertisement
  • entries
    1237
  • comments
    1739
  • views
    1145652

Is it getting random() in here?

Sign in to follow this  
johnhattan

85 views

Gotta plug an interesting site. Basically, I needed 256 random bytes for an encryption routine I'm writing. I figured it'd only take a couple of minutes to write a piece of code to generate 'em, but I decided to do a search first, just in case.

Lo and behold, I find www.random.org, which'll generate a pile of random numbers in whatever range you need. A cut-n-paste and a search-n-replace later, and I had a 256-byte encryption key.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!