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

Name

Description

input

The encrypted length field.

Created with MrDocs