| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 8 months |
| seen | Feb 8 at 3:04 | |
| stats | profile views | 0 |
|
Mar 22 |
awarded | Popular Question |
|
Sep 19 |
comment |
Encrypting small values with RSA private key thanks, I've signed up to the mailing list. I'll take a look at the docs, hopefully it will become standardized soon. |
|
Sep 19 |
comment |
Encrypting small values with RSA private key @jug No, I can use any any. I am aware that ECC may allow smaller keys. |
|
Sep 19 |
comment |
Encrypting small values with RSA private key @DavidSchwartz I am signing, or otherwise need to insure the integrity of, very small amounts of data. These are delivered to a (potentially offline) application, which needs to verify that the message was not tampered with in transit. Though I control both ends, I do not want to use symmetric encryption, as that would easily allow someone to generate fake messages. |
|
Sep 12 |
comment |
Encrypting small values with RSA private key I am not worried about confidentiality of the data, I only need to verify the authenticity. Signing is the most logical, but I was hoping to encrypt the data (instead of the hash) with my private key, so that the public key can be used to verify that the data was not tampered with. |
|
Sep 12 |
comment |
Encrypting small values with RSA private key Thanks for the reply. I'm aware that the encrypted value will never be smaller than the key. And unfortunately, each value must be individually signed/authenticated, and I can't use symmetric encryption. I was looking at OAEP, but am wondering if the raw bytes of the hash data plays a role in the security of the resulting value (WRT the private key), e.g. can I replace the hash value with actual data? |
|
Sep 12 |
awarded | Student |
|
Sep 12 |
asked | Encrypting small values with RSA private key |