RSA Encrypt URL Parameter

This plug-in contains a function, rsaEncryptURLParam(), that encrypts an HTTP query parameter using a specified key.

  • Uses "RSA/ECB/PKCS1PADDING" cipher
  • The encrypted value is converted to base64
  • '+' and '/' are replaced with '-' and '_' respectively
  • Value is URL encoded