[#BIP324Cipher-2constructor-034]
= xref:BIP324Cipher.adoc[BIP324Cipher]::BIP324Cipher
:relfileprefix: ../
:mrdocs:

Initialize a BIP324 cipher with specified key and encoding entropy (testing only)&period;

== Synopsis

Declared in `&lt;bip324&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BIP324Cipher(
    xref:CKey.adoc[CKey] const& key,
    std::span&lt;std::byte const&gt; ent32) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Our private key used for the ECDH key exchange&period;
| *ent32*
| 32 bytes of entropy used to encode our public key&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
