Created decorator for RSA encryption