Simple RSA implementation in C++/Assembly