Concept Framework 1.0 documentation Contents | Index

standard.lib.cripto.rsa_generate_keys

Name Version Deprecated
rsa_generate_keys version 1.0 no

Prototype:
boolean rsa_generate_keys(number bits, var string rsa_private_key, var string rsa_public_key)

Parameters:
bits      [in] the number of bits (eg: 256(min), 512, 1024, 2048(max), must be a multiple of 256)
rsa_private_key      [out] the private key
rsa_public_key      [out] the public key

Description:
Generates a RSA key pair.

Notice: This keys are NOT to be considered strong keys.

Returns:
Returns true if succeeded, or false if failed.

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:05 2009 GMT(c)2009 RadGs Software