working des and aes, need reworking for RSA