IB Statements/cryptogeneraterandom
From CometWiki
< IB Statements(Difference between revisions)
(New page: = CryptoGenerateRandom = Random$ = CryptoGenerateRandom(BlockSize)) |
|||
| (3 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | + | '''CryptoGenerateRandom function''' | |
| - | Random$ = CryptoGenerateRandom( | + | '''Syntax:''' result-string = CryptoGenerateRandom(Length) |
| + | |||
| + | '''Discussion:''' The CryptoGenerateRandom function generates a binary (non-printable) string of random characters of <Length> bytes. The resulting string may be used for any purpose and can be especially useful for generating encryption Keys. | ||
| + | |||
| + | '''History:''' This function is available in Comet32 only. | ||
| + | |||
| + | '''Example:''' | ||
| + | |||
| + | LENGTH 16 & LOCAL Random$ | ||
| + | |||
| + | Random$ = CryptoGenerateRandom(16) | ||
Latest revision as of 00:55, 7 June 2010
CryptoGenerateRandom function
Syntax: result-string = CryptoGenerateRandom(Length)
Discussion: The CryptoGenerateRandom function generates a binary (non-printable) string of random characters of <Length> bytes. The resulting string may be used for any purpose and can be especially useful for generating encryption Keys.
History: This function is available in Comet32 only.
Example:
LENGTH 16 & LOCAL Random$ Random$ = CryptoGenerateRandom(16)