completed crypt_rsa implementation (commented out GnuTLS for now)