Added RSA: Java, C++