BIP324Cipher::DecryptLength

Decrypt the length of a packet. Only after Initialize().

Synopsis

Declared in <bip324.h>

unsigned int
DecryptLength(std::span<std::byte const> input) noexcept;

Description

It must hold that input.size() == LENGTH_LEN.

Return Value

The decrypted length of the packet contents.

Parameters

NameDescription
inputThe encrypted length field.