Branch: Tag:

1999-08-25

1999-08-25 17:32:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some doc.
Fixed typo.
Changed some macros into constants.

Rev: lib/modules/Crypto/randomness.pmod:1.11

1542:   </docgroup>   </class>   </module> + <module name='Crypto'> + <module name='randomness'> + <doc> + <text> + <p>Assorted stronger or weaker randomnumber generators.</p> + </text> +  + </doc> + <class name='pike_random'> + <doc> + <text> + <p>A pseudo random generator based on the ordinary random() function.</p> + </text> +  + </doc> + <docgroup homogen-name='read' homogen-type='method'> + <method name='read'> +  <returntype> +  <object>string </object></returntype> +  <arguments><argument name='len'><type><int/></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Returns a string of length len with pseudo random values.</p> + </text> +  + </doc> + </docgroup> + </class> + <class name='rc4_random'> + <doc> + <text> + <p>A pseudo random generator based on the rc4 crypto.</p> + </text> +  + </doc> + <docgroup homogen-name='create' homogen-type='method'> + <method name='create'> +  <returntype> +  <object>void </object></returntype> +  <arguments><argument name='secret'><type><string/></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Initialize and seed the rc4 random generator.</p> + </text> +  + </doc> + </docgroup> + <docgroup homogen-name='read' homogen-type='method'> + <method name='read'> +  <returntype> +  <object>string </object></returntype> +  <arguments><argument name='len'><type><int/></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Return a string of the next len random characters from the + rc4 random generator.</p> + </text> +  + </doc> + </docgroup> + </class> + </module> + </module>   <module name='Gdbm'>   <class name='gdbm'>   <doc placeholder='true'>