working RSA serialization