This code is new and it handles some RSA stuff.