IB Statements/cryptogeneraterandom

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
'''History:'''  This function is available in Comet32 only.
'''History:'''  This function is available in Comet32 only.
-
'''Example:''' LENGTH 16 & LOCAL Random$
+
'''Example:'''
 +
 
 +
LENGTH 16 & LOCAL Random$
Random$ = CryptoGenerateRandom(16)
Random$ = CryptoGenerateRandom(16)

Revision as of 23:41, 6 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)

Personal tools