If you look at just PKCS#1 RSA encrypt/sign, I believe the output will be as long as the modulus size. Thus, a 2048 bit key (which is the minimum you want to use to be safe) would be 256 bytes, or 512 modhex characters. Right now the output is 44 modhex characters and it is getting on the long side.
There is ECC though, which has significant shorter signatures.
/Simon
Code:
jas@mocca:~$ openssl genrsa -out rsa.pem
Generating RSA private key, 512 bit long modulus
.++++++++++++
.++++++++++++
e is 65537 (0x10001)
jas@mocca:~$ cat rsa.pem
-----BEGIN RSA PRIVATE KEY-----
MIIBPAIBAAJBAMJ8JDWnjv/qfvVwv5A6Sm3MyVp59L5RhW8JCOTBYy2yZKa1CeVE
jaJQotpoI4AZ7j+y9Z23bw/a7OFHo3G08MsCAwEAAQJBAI/aOQJCxOAAOBYdZmQs
6X6budelW2UmcVb2zNA/Rre17wwKHpB7RQkchf4Tyc0z2cCXffINi72fWpOw58jj
TVkCIQD4OGywdOzgQLRclVHRq9a685UwW5AYe9JS2N4LwXdytwIhAMiUkyW1InZj
MRrqFGHTWG43RqCa2hqFYMzB4DwOwU6NAiEA9Mvo3SmjRxJpDfmxJGAdOGjrlDJo
7MyIw23fpqZZYAcCIAhfq4T3eujWW0Z0X0V2PUrco+YwkMpqpw/lSCc5tnhBAiEA
3QMqy4qSjSgn4LQdxDWMpFj/kjSMwinD+i9BeEgv7iY=
-----END RSA PRIVATE KEY-----
jas@mocca:~$ echo 'hi'|openssl rsautl -encrypt -inkey rsa.pem -out foo.out
jas@mocca:~$ ls -la foo.out
-rw-r--r-- 1 jas jas 64 2008-06-02 09:43 foo.out
jas@mocca:~$