Skip to content

Apex implementation of RSA-SHA512

Notifications You must be signed in to change notification settings

mattandneil/apex-rsa-sha-512

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA-SHA512 in Apex

This solution stands of the shoulders of a number of people who provided reference
implementations and ideas. We wish to express appreciation for their published work:

diagram

  1. A private key file holds secret prime numbers
  2. An ASN key reader handles the binary file format
  3. The message to sign consists of a JSON Web Token
  4. Then a SHA512 hash reduces the message to a big integer
  5. Finally the RSA signer executes the modPow signature math

Usage:

Blob signature = CryptoRsaSha512.sign(message, privateKey);

While we can't provide ad-hoc support for this code, please contact us with your company
name and address if you need a warranty for its use and we will assist: www.streamscript.com/contact

About

Apex implementation of RSA-SHA512

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages