[#BIP324Cipher-DecryptLength]
= xref:BIP324Cipher.adoc[BIP324Cipher]::DecryptLength
:relfileprefix: ../
:mrdocs:

Decrypt the length of a packet&period; Only after Initialize()&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
DecryptLength(std::span&lt;std::byte const&gt; input) noexcept;
----

== Description

It must hold that input&period;size() &equals;&equals; LENGTH&lowbar;LEN&period;

== Return Value

The decrypted length of the packet contents&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The encrypted length field&period;
|===


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