Decrypts ciphertext into key material with the configured key and IV.
Synopsis
Declared in <wallet/crypter.h>
[[nodiscard]]
bool
Decrypt(
std::span<unsigned char const> ciphertext,
CKeyingMaterial& plaintext) const;
Return Value
true if decryption succeeded.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
ciphertext |
The ciphertext to decrypt. |
plaintext |
Receives the recovered key material. |
Created with MrDocs