[#BIP324Cipher-2constructor-09] = xref:BIP324Cipher.adoc[BIP324Cipher]::BIP324Cipher :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<bip324.h>` No default constructor; keys must be provided to create a BIP324Cipher. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIP324Cipher/2constructor-0a.adoc[BIP324Cipher]() = delete; ---- [.small]#xref:BIP324Cipher/2constructor-0a.adoc[_» more..._]# Initialize a BIP324 cipher with specified key and encoding entropy (testing only). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIP324Cipher/2constructor-034.adoc[BIP324Cipher]( xref:CKey.adoc[CKey] const& key, std::span<std::byte const> ent32) noexcept; ---- [.small]#xref:BIP324Cipher/2constructor-034.adoc[_» more..._]# Initialize a BIP324 cipher with specified key (testing only). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIP324Cipher/2constructor-037.adoc[BIP324Cipher]( xref:CKey.adoc[CKey] const& key, xref:EllSwiftPubKey.adoc[EllSwiftPubKey] const& pubkey) noexcept; ---- [.small]#xref:BIP324Cipher/2constructor-037.adoc[_» more..._]# == 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. | *pubkey* | Our precomputed ElligatorSwift‐encoded public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#