Skip to content

rsa key gen from primes

Chris Petersen edited this page Oct 21, 2015 · 1 revision

Generates an RSA key from the prime arguments.

Parameter Description
size optional bit length
p prime number
q prime number
o optional argument

Example

> (rsa-key-gen-from-primes 32 2936546443 3213384203)
#<Rsa-Key #6 bits: 32 n: 9436251951312039929 e: 65537 d: 5772301760555853353>
Clone this wiki locally