haskell-hvr / uuid

A Haskell library for creating, printing and parsing UUIDs
http://hackage.haskell.org/package/uuid
61 stars 38 forks source link

[#22] Document Difference Between randomIO & nextRandom #31

Closed prikhi closed 7 years ago

prikhi commented 7 years ago

The Random class should be used for UUIDs where cryptographic security is not necessary, while Data.UUID.v4.nextRandom should be used for UUIDs that need to be cryptographically secure.

Refs #22

Let me know if I should change anything. Also wasn't sure if I should bump the copyright years in the respect files.

hvr commented 7 years ago

thanks!