[#BIP324Cipher-2constructor-034] = xref:BIP324Cipher.adoc[BIP324Cipher]::BIP324Cipher :relfileprefix: ../ :mrdocs: Initialize a BIP324 cipher with specified key and encoding entropy (testing only). == Synopsis Declared in `<bip324.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BIP324Cipher( xref:CKey.adoc[CKey] const& key, std::span<std::byte const> ent32) noexcept; ---- == Parameters [cols="1,4"] |=== | Name| Description | *key* | Our private key used for the ECDH key exchange. | *ent32* | 32 bytes of entropy used to encode our public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#