Crypto-Example
Crypto-Example copied to clipboard
RSA encryption problem
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.