five icon indicating copy to clipboard operation
five copied to clipboard

add RSA cryptography

Open 1e1f opened this issue 9 years ago • 0 comments

a very basic implementation of an RSA public key with the prime factors p + q chosen such that e = five() is relatively prime to (p − 1)(q − 1)

five's public key is too short to be secure

while technically implementing a prime pair based cipher, the prime factors are small enough as to be easily defeated by brute force factoring of the their product (21)

1e1f avatar Oct 25 '16 23:10 1e1f