Skip to main content

securekeyDecrypt

Type​

handler

Summary​

Decrypt an encrypted message

Syntax​

securekeyDecrypt(<pIdentifier>,<pEncryptedMessage>)

Description​

Decrypts the encrypted message using the securekey with the given identifier. The returned data is the decrypted data.

*NOTE
  • The Secure Key Storage library uses APIs available on iOS 10.0+, macOS 10.12+ and Android 4.3.

Parameters​

NameTypeDescription

pIdentifier

A string used to identify the securekey.

pEncryptedMessage

A encrypted message data

Examples​

put securekeyDecrypt("foo", tEncryptedMessage) into tMessage

Value​

NameTypeDescription

return

The derypted message data

Compatibility and Support​

OS

mac

ios

android

Platforms

desktop

mobile