Re: RSA with libcrypto
Hi all, It works,The problem was the strlen(to) as you mention. thank you for your reply. cheers
RSA with libcrypto
Hi all, I am too new to this library and i am trying to do encrypt and decrypt in RSA. But it gives a error in decrypting. This is my code #include #include #include #include #include main(){ ERR_load_RSA_strings(); ERR_load_crypto_strings(); RSA *rsa = RSA_generate_key(1024, 3,