safequard-api-for-react-native
    Preparing search index...

    Function safequard_mlkem768_decrypt

    • Parameters

      • context: Uint8Array

        The buffer to the internal context.

      • encrypted_message: Uint8Array

        The buffer to the encrypted message.

      • ciphertext: Uint8Array

        The buffer to the ciphertext. Must have size 1088.

      • message: Uint8Array

        The buffer for the decrypted message. Must have size encrypted_message length - 16.

      Returns void

      Decrypt an ML-KEM-768 encrypted message.

      Decrypt an ML-KEM-768 encrypted message using a previously initialised context from safequard_mlkem768_init().