Name
E-mail
Subject
Comment
Verification
reCAPTCHA challenge image
Get a new challenge Get an audio challengeGet a visual challenge Help
File
Password(Password used for file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 3072 KB.
  • Images greater than 250x250 pixels will be thumbnailed.
  • Read the rules and FAQ before posting.
  • Use TeX/jsMath with the [math] (inline) and [eqn] (block) tags. Double-click equations to view the source.
  • このサイトについて - 翻訳


  • File: 1335508928.gif-(443 KB, 486x377)
    443 KB Anonymous 04/27/12(Fri)02:42 No.4621161   [Reply]
    How reliable is java's Math.random() function?
    After a certain amount of iterations would a pattern begin to emerge?
    Would it be a reliable basis for generating a "One-time pad"
    method cypher?
    >> Anonymous 04/27/12(Fri)02:48 No.4621167
    You can initialize Java's random number generator with a seed, which could be the current time or some random data you can fetch from the internet. Without using data from the real world, all software-based random number generators won't be able to generate true random numbers.
    >> Anonymous 04/27/12(Fri)02:56 No.4621178
    how reliable is basing the seed off of the current time? God, im brain farting, sorry if the questions aren't making complete sense.
    >The class uses a 48-bit seed, which is modified using a linear congruential formula.
    >48-bit seed
    what exactly does this mean? as opposed to it being 124-bit
    or 248-bit. does it being 48-bits change anything? would i concievably be able to make a better random number generator by combining several factors (IE: certain functions?)
    >> Anonymous 04/27/12(Fri)02:59 No.4621183
    also, how would i search for trends within the cyphered text?
    I have a volume of 350k "random" words atm, each character has 560 different permutations (words) assigned to it. would this be enough?
    >> Anonymous 04/27/12(Fri)03:25 No.4621218
    bump



    Delete Post [File Only]
    Password
    Style [Yotsuba | Yotsuba B | Futaba | Burichan]
    [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] Next