Handbook
Glossary
generate-rsa-keypair ( numbits -- <rsa> )
Vocabulary
crypto
.
rsa
Inputs
numbits
an
object
Outputs
<rsa>
an
object
Definition
USING:
crypto.rsa.private
kernel
math
math.functions
;
IN:
crypto.rsa
:
generate-rsa-keypair
( numbits -- <rsa> )
modulus-phi
public-key
over
mod-inv
+
public-key
<rsa>
;