Jules Colding wrote:
Hi all,
Excuse me for asking such trivial questions, but I am new to
cryptography.
Anyway, will a string still be a string if I encrypt it with an RSA
public key? I mean, will null or other non-printable characters be
present within the encrypted result or will the result be entirely
printable ASCII characters?
Thanks,
jules
If you encrypt a string (or anything else) with EVP_* APIs the result
will be binary. So if you need it as a string you'll have to use some
encoding like Base64 or Hex.
Hope it helps.
Ted
;)
--
PGP Public Key Information
Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
Key fingerprint = 31B0 E029 BCF9 6605 DAC1 B2E1 0CC8 70F4 7AFB 8D26
smime.p7s
Description: S/MIME Cryptographic Signature