Tag Archives: asymmetric encryption

Demonstrating the RSA Algorithm in JavaScript

The JavaScript code below picks two random two-digit primes, uses them to generate a RSA keypair, then uses that keypair to encrypt and decrypt a simple message. It uses the LargeInteger class introduced in a previous post to handle the … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment