Re: Need some information regarding openssl rsa
Hello, 1. What is the format of the encrypted data ?? It is neither ascii text not binary nor unicode. what is it ?? 2. How is the input data interpreted ?? I mean is there a number associated with all the characters ?? Example - 0-25 for 'a' to 'z', 26-51 for 'A' to 'Z' etc. Input data to RSA routines is treated as binary buffer (ascii or not). Inside RSA this buffer is converted to number, big number. Next, some calculation (modular exponentation) is performed on this number and result is saved to output binary buffer (in big-endian form). Best regards, -- Marek Marcola [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Need some information regarding openssl rsa
Hi all, I am using openssl for rsa encryption/decryption. I have some questions. 1. What is the format of the encrypted data ?? It is neither ascii text not binary nor unicode. what is it ?? 2. How is the input data interpreted ?? I mean is there a number associated with all the characters ?? Example - 0-25 for 'a' to 'z', 26-51 for 'A' to 'Z' etc. Thanx in advance, Bibhuti - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
RE: Need some information regarding openssl rsa
I am using openssl for rsa encryption/decryption. I have some questions. 1. What is the format of the encrypted data ?? It is neither ascii text not binary nor unicode. what is it ?? There are any number of possible formats for encrypted data. You could have raw binary RSA encrypted data, but that's not all that useful. You might have one of the more common formats (like PKCS1) which can either be PEM or DER encoded. There is no one right format. 2. How is the input data interpreted ?? I mean is there a number associated with all the characters ?? Example - 0-25 for 'a' to 'z', 26-51 for 'A' to 'Z' etc. That all depends upon exactly what you're doing, and we have no idea. Generally, the RSA encryption scheme doesn't care what the data means -- why should it? DS __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]