RSA question


#1

I’ve encoded 16 bytes of data with a RSA private key. Is the result supposed to be 16 bytes long as well?
All the tests I’ve done produce a 32 byte result when encrypting 16 bytes of data.


#2

The length isn’t supposed to be the same. The important thing is that when you reverse it, you get the original value back!