Skip to content

Instantly share code, notes, and snippets.

View marcveens's full-sized avatar

Marc Veens marcveens

View GitHub Profile
@jbrown17
jbrown17 / rsa.java
Last active June 5, 2025 14:34
Quick, simple implementation of RSA encryption algorithm without external libraries
import java.awt.EventQueue;
import java.io.*;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
/**
* Quick and dirty implementation of the RSA algorithm