Crypto-Example icon indicating copy to clipboard operation
Crypto-Example copied to clipboard

RSA encryption problem

Open leonpet123 opened this issue 4 years ago • 0 comments

so as u know the AES key generates at a size of 64, i would like to encrypt that key with client's RSA public key, so I did, but the encrypted msg length is always 80, doesn't matter what the RSA key length is (1024, 2048, 4096 etc) the encrypted msg in that situation should be always bits/8. im using 1024 bits so my encrypted aes key should be about the size of 128, if its not a problem so pls help me understand, i tried the same system in python and in python it works as it should.

leonpet123 avatar Feb 19 '21 14:02 leonpet123