rapid-sdk
    Preparing search index...

    Function utilAesDecrypt

    • Performs AES decryption on provided encrypted text using provided key

      Parameters

      • cipherText: string
      • Optionalkey: number[]

        default: DEFAULT_128

      Returns string

      plainText

      See https://github.com/ricmoo/aes-js Possible keys lengths are: 128 bits (16 bytes), 192 bits (24 bytes) or 256 bits (32 bytes). To generate a random key: window.crypto.getRandomValues(new Uint8Array(16));