BigInt.encode1363

Encode a BigInt to a ubyte array according to IEEE 1363

  1. SecureVector!ubyte encode1363(const(BigInt)* n, size_t bytes)
    struct BigInt
    static
    SecureVector!ubyte
    encode1363
    (
    const(BigInt)* n
    ,
    size_t bytes
    )
  2. SecureVector!ubyte encode1363(BigInt n, size_t bytes)

Parameters

n const(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