Encrypts plaintext key material with the configured key and IV.
Declared in <wallet/crypter.h>
[[nodiscard]]
bool
Encrypt(
CKeyingMaterial const& vchPlaintext,
std::vector<unsigned char>& vchCiphertext) const;
| Name | Description |
|---|---|
| vchPlaintext | The key material to encrypt. |
| vchCiphertext | Receives the resulting ciphertext. |