Skip to content

Index of Module rsa

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

Module: rsa

This module provides RSA public key cryptography.

Functions in this module:

Function Short Description
(make-rsa-key bits n e d) Make an RSA key
(rsa-key-gen . size) Generate RSA key
(rsa-key-gen-from-primes size p q . o) Generate RSA key
(rsa-pub-key key) Generate public key
(rsa-encrypt key msg) Returns encrypted message
(rsa-decrypt key msg) Decrypts a message
(rsa-sign priv-key msg) Signs a message
(rsa-verify pub-key sig) Returns the verified signature message
(rsa-verify? pub-key msg sig) Check valid signature
(rsa-key? key) Returns true if RSA key
(rsa-key-bits key) Returns key bit length
(rsa-key-n key) Key public modulus
(rsa-key-e key) Key public exponent
(rsa-key-d key) Key private exponent
(pkcs1-pad v) Apply PKCS padding
(pkcs1-unpad v) Remove PKCS padding
Clone this wiki locally