Syntax

Platform.Function.DecryptAsymmetric(encryptedValue, keyName)
2 arguments

Parameters

Name Type Required Description
encryptedValue string Yes Encrypted ciphertext to decrypt
keyName string Yes Name of the private key registered in SFMC Key Management

Examples

var ciphertext = Platform.Function.Lookup("EncryptedLog", "encryptedValue", "id", rowId);
var plain = Platform.Function.DecryptAsymmetric(ciphertext, "MyPrivateKey");

See Also