search for: randombytes

Displaying 4 results from an estimated 4 matches for "randombytes".

Did you mean: rand_bytes
2006 Aug 31
0
New package 'random' for non-deterministic random number
...ns for other RNGs, to validate simulation with non-deterministic RNGs, or simply for fun and experimentations. The package contains five simple functions randomNumber (random integeres between min, max w/ duplicates) randomSequence (random sequences between min, max w/o duplicates) randomBytes (in hex, dec, oct or bin) randomBufferStatus (to query the server status) sufficientBits (boolean test of randomBufferStats vs rec'ed value) Also included are two vignettes that can be accessed via vignette("random-intro", package = "random") vignette(&q...
2006 Aug 31
0
New package 'random' for non-deterministic random number
...ns for other RNGs, to validate simulation with non-deterministic RNGs, or simply for fun and experimentations. The package contains five simple functions randomNumber (random integeres between min, max w/ duplicates) randomSequence (random sequences between min, max w/o duplicates) randomBytes (in hex, dec, oct or bin) randomBufferStatus (to query the server status) sufficientBits (boolean test of randomBufferStats vs rec'ed value) Also included are two vignettes that can be accessed via vignette("random-intro", package = "random") vignette(&q...
2013 Sep 20
0
[LLVMdev] Adding diversity for security (and testing)
...cl::desc("Seed for the random number generator")); namespace and static are redundant. Just use static. http://llvm.org/docs/CodingStandards.html#static + PKCS5_PBKDF2_HMAC_SHA1(Password.data(), Password.size(), (unsigned char*)&Salt, sizeof(Salt), PBKDF_ITERATIONS, KeyLen, RandomBytes); 80-column violation. http://llvm.org/docs/CodingStandards.html#source-code-width +void RandomNumberGenerator::ReadStateFile(StringRef StateFilename) { There's nothing wrong with this function per se. It isn't buggy. I'm just wondering how this API fits with the general "llvm...
2013 Sep 19
2
[LLVMdev] Adding diversity for security (and testing)
Thanks for all the feedback! It seems there is some interest, so I thought I'd try to summarize discussions so far, and provide patches for closer inspection. I'm not sure if patches should end up here or on a different list in this instance, so if I should instead send this to a different list, I'm happy to do so. - Is diversity needed, or are existing protections sufficient? As