Random Numbers in Perl

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Nathan Saper
日付:  
題目: Random Numbers in Perl
Here's one for you Perl gurus out there:

In a Perl app I'm trying to write, I want to be able to create random
hex integers $bits bits long, where $bits is a user-defined variable.
The randomness of the numbers needs to be as good as possible, because
it would be used in a crypto app.

Any ideas?

- --
Nathan Saper () | http://www.well.com/user/natedog/
GnuPG (ElGamal/DSA): 0x9AD0F382 | PGP 2.x (RSA): 0x386C4B91
Standard PGP & PGP/MIME OK      | AOL Instant Messenger: linuxfu