hybrid-public-key-encryption-api
Service icon

Hybrid Public Key encryption API

Stable version 1.0.3 (Compatible with OutSystems 11)
Uploaded on 17 March 2021 by 
5.0
 (2 ratings)
hybrid-public-key-encryption-api

Hybrid Public Key encryption API

Documentation
1.0.3

Important notes:

Not taking into consideration the .Net Crypto service provider from .Net framework, there are still three exceptions that can be thrown from the very own Extension code:

  • An invalid RSA Padding has been provided:
    • "Unknown padding"
  • An invalid AES bit key size has been provided:
    • "Invalid bit length"
  • In any way, the ciphered message has been tampered with, making the HMACSHA256 calculated by the AES_Encrypt being different from calculated ciphered message one on the AES_Decrypt function:
    • "Decryption Failed"