BigInt.encode1363

Encode a BigInt to a ubyte array according to IEEE 1363

struct BigInt
static
SecureVector!ubyte
encode1363
()
(
auto const ref BigInt n
,
size_t bytes
)

Parameters

n BigInt

the BigInt to encode

bytes size_t

the length of the resulting SecureVector!ubyte

Return Value

Type: SecureVector!ubyte

a SecureVector!ubyte containing the encoded BigInt

Meta