toy-rsa: A toy implementation of RSA, written from scratch in 2014 and occasionally tweaked since. HOW TO USE ---------- {0}[calvin ~/git/toy-rsa] make -j -s {0}[calvin ~/git/toy-rsa] ./toy-rsa --help Usage: ./toy-rsa [-b bits] [-c count] {0}[calvin ~/git/toy-rsa] ./toy-rsa Searching for 256 bit prime: .........................+++++++++++ done! Searching for 256 bit prime: .................................+++++++++++ done! GENERATED 512 BIT RSA KEY: p: [0] a56d5e695e5a13c21ff3e9f793d908b3df822ebfd2a85fe3d91ccb58eb4ab297 q: [0] a07f3deab8c42e6941a004bc8e82c49be63be9cb17afbde5c5bf346bf31c84e5 m: [0] 67b694466e1ae46a86096d03fcb69909cf4ed5c35df0e7b9af79a1869f079a4b b94286c9fa9f9a78141fc3b233b50bf53dcf400c08b4a921aad5b4aadb6b9d13 t: [0] 67b694466e1ae46a86096d03fcb69909cf4ed5c35df0e7b9af79a1869f079a4a 7355ea75e381584cb28bd4fe11593ea5781127811e5c8b580bf9b4e5fd046598 e: [0] 0000000000010001 d: [1] 3690a892257ba0912ad3eab71e4e335625eba42b9551199967e8e6429d88b274 5919eab0fb7121b3b87c3923329d71883d1349657543db4c0780e8dbd7b26881 TESTING 512 BIT RSA KEY: S: [0] beefbeefbeefbeef C: [0] 2d7369b521e1ec032085141e4059a9cd8eba2a91c5599fadbc41f67ad4179b3e 8069bddb8f68655fef7b49d488707696b09d508172cdf568a12fe7fa8407e884 D: [0] beefbeefbeefbeef