Talk:One-time pad: Difference between revisions

→‎Some cautions: CryptGenRandom
(→‎Some cautions: new section)
(→‎Some cautions: CryptGenRandom)
Line 25:
 
Because of these constraints, either the task or the implementations should specify the operational requirements for the code. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 06:13, 13 December 2014 (UTC)
 
:Sure, /dev/random on Unix is easy to use, and accessible from all languages.
:On Windows, e.g. there is the [http://msdn.microsoft.com/en-us/library/windows/desktop/aa379942%28v=vs.85%29.aspx CryptGenRandom_function], which MS claims "fills a buffer with cryptographically random bytes". --[[User:Hajo|Hajo]] ([[User talk:Hajo|talk]]) 12:45, 13 December 2014 (UTC)
Anonymous user