decrypt


Description:

public uint8[]? decrypt (uint8[] ciphertext, out ErrDecryption error)

This is the inverse of PassKey.encrypt, also using only keys produced by PassKey.PassKey.derive or PassKey.PassKey.derive_with_salt.

Parameters:

ciphertext

A byte array of length ciphertext.length.

Returns:

plaintext on success.