Decrypts ciphertext into key material with the configured key and IV.
Declared in <wallet/crypter.h>
[[nodiscard]]
bool
Decrypt(
std::span<unsigned char const> ciphertext,
CKeyingMaterial& plaintext) const;
| Name | Description |
|---|---|
| ciphertext | The ciphertext to decrypt. |
| plaintext | Receives the recovered key material. |