Commit Graph

15 Commits (master)

Author SHA1 Message Date
Kim Alvefur 1e2d4026f9 util.random: Test whether util.crand works before using it (fix #1734) 4 years ago
Kim Alvefur 43531740f9 util: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur a6e44a24a0 util.random: Throw different error for EOL condition 7 years ago
Kim Alvefur c42ccf1bcc util.random: Coerce error to string (thanks waqas) 7 years ago
Kim Alvefur 60c9443a7b util.random: Handle unlikely read errors from /dev/urandom (see #1313) 7 years ago
Kim Alvefur 6ab32342b2 util.random: Add a _source field to match util.crand 8 years ago
Kim Alvefur 880a7c3e32 util.random: Remove obsolete noop seed function 8 years ago
Kim Alvefur ed8199402f util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG 10 years ago
Kim Alvefur d920df1dfb util.random: Restore friendlier error from 0.9/util.uuid 10 years ago
Kim Alvefur f1d3d688b0 util.random: Open /dev/urandom read-only, make seed() a noop 10 years ago
Kim Alvefur b057664428 util.random: Use /dev/urandom 10 years ago
Kim Alvefur ea8046b81b util.random: Ensure at least 4 bytes of previous random state is used when generating new randomness 11 years ago
Kim Alvefur ff30d91a0d util.random: Switch to SHA512 11 years ago
Matthew Wild 2716c4191d util.random: Generic util lib for generating strings of random bytes 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain 3ee35fe849 util.uuid: Use a local instead of a global. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain e60635aa94 util.uuid: Added function seed(string) to allow further seeding of the PRNG 17 years ago
Waqas Hussain 4ee16e78eb util.uuid: Now generates RFC 4122 complaint UUIDs (version 4 - random) 17 years ago
Waqas Hussain 27379bb148 util.uuid: More uniqueness! 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 6db4951194 util.uuid: Return a string, not a number. Looked so innocent. 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Matthew Wild eb8e9997e0 dialback keys now verified 17 years ago
Matthew Wild f6924a64c0 Add "uuid" library and make sessionmanager use this. 17 years ago