<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Pqc.Crypto.Lms.Composer

public sealed class Composer
Assembles the byte strings of an LMS encoding, in the order RFC 8554 gives them.
namespace Org.BouncyCastle.Pqc.Crypto.Lms { public sealed class Composer { public static Composer Compose(); public Composer U64Str(long n); public Composer U32Str(int n); public Composer U16Str(int n); public Composer Bytes(IEncodable[] encodable); public Composer Bytes(IEncodable encodable); public Composer Pad(int v, int len); public Composer Bytes2(byte[][] arrays); public Composer Bytes2(byte[][] arrays, int start, int end); public Composer Bytes(byte[] array); public Composer Bytes(byte[] array, int start, int len); public byte[] Build(); public Composer PadUntil(int v, int requiredLen); public Composer Boolean(bool v); } }