Skip to main content

util.rsaGeneratePair()

Generates an RSA key pair. Asynchronous; modulusLength: multiple of 256 in 1024..4096; passphrase: at most 4096 code units.

Signature

Example

See all util methods or runtime basics.
Last modified on November 8, 2026