![]() ![]() |
Reference Type: Supported, Category: Data Security, ICR#: 6189
The $$RSADECR^XUSHSH extrinsic function returns the plaintext string value for an RSA encrypted ciphertext entry. RSA is a public-key encryption system that is widely used for secure data transmission. The encryption key is public and differs from the decryption key, which is kept secret.
NOTE: This API was released with Kernel Patch XU*8.0*655.
$$RSADECR^XUSHSH(text,key[,pwd][,enc])
text: |
(required) The RSA encrypted ciphertext string to be decrypted. |
key: | (required) The RSA private key corresponding to the RSA public key that was used for encryption, Privacy Enhanced Mail (PEM)-encoded. |
pwd: | (optional) The private key password. |
enc: |
(optional) Encoding - Public-Key Cryptography Standards (PKCS #1 v2.1 encoding method:
|
returns: |
Returns the plaintext string value for the RSA encrypted ciphertext input parameter. |
NOTE: "hgwds" is the alias of a certificate installed in Caché through the management portal for demonstration purposes. The private key used to decrypt the ciphertext was not available, so that function is not demonstrated here.