@@ -5299,24 +5299,24 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
52995299
53005300| | | |
53015301| --- | --- | --- |
5302- | [BI_EIGHT](#variable-bi_eight) | [biModSqrt](#variable-bimodsqrt) | [multiply ](#variable-multiply ) |
5303- | [BI_FOUR](#variable-bi_four) | [biModSub](#variable-bimodsub) | [rightShift ](#variable-rightshift ) |
5304- | [BI_ONE](#variable-bi_one) | [checkBit](#variable-checkbit) | [ripemd160 ](#variable-ripemd160 ) |
5305- | [BI_THREE](#variable-bi_three) | [encode](#variable-encode) | [scalarMultiplyWNAF ](#variable-scalarmultiplywnaf ) |
5306- | [BI_TWO](#variable-bi_two) | [exclusiveOR](#variable-exclusiveor) | [sha1 ](#variable-sha1 ) |
5307- | [BI_ZERO](#variable-bi_zero) | [fromBase58](#variable-frombase58) | [sha256 ](#variable-sha256 ) |
5308- | [GX_BIGINT](#variable-gx_bigint) | [fromBase58Check](#variable-frombase58check) | [sha256hmac ](#variable-sha256hmac ) |
5309- | [GY_BIGINT](#variable-gy_bigint) | [getBytes](#variable-getbytes) | [sha512 ](#variable-sha512 ) |
5310- | [MASK_256](#variable-mask_256) | [hash160 ](#variable-hash160 ) | [sha512hmac ](#variable-sha512hmac ) |
5311- | [N_BIGINT](#variable-n_bigint) | [hash256 ](#variable-hash256 ) | [sign ](#variable-sign ) |
5312- | [P_BIGINT](#variable-p_bigint) | [incrementLeastSignificantThirtyTwoBits ](#variable-incrementleastsignificantthirtytwobits ) | [toArray ](#variable-toarray ) |
5313- | [P_PLUS1_DIV4](#variable-p_plus1_div4) | [jpAdd ](#variable-jpadd ) | [toBase58 ](#variable-tobase58 ) |
5314- | [biMod](#variable-bimod) | [jpDouble ](#variable-jpdouble ) | [toBase58Check ](#variable-tobase58check ) |
5315- | [biModAdd](#variable-bimodadd) | [jpNeg ](#variable-jpneg ) | [toHex ](#variable-tohex ) |
5316- | [biModInv](#variable-bimodinv) | [minimallyEncode ](#variable-minimallyencode ) | [toUTF8 ](#variable-toutf8 ) |
5317- | [biModMul](#variable-bimodmul) | [modInvN ](#variable-modinvn ) | [verify ](#variable-verify ) |
5318- | [biModPow](#variable-bimodpow) | [modMulN ](#variable-modmuln ) | [zero2 ](#variable-zero2 ) |
5319- | [biModSqr](#variable-bimodsqr) | [modN ](#variable-modn ) | |
5302+ | [BI_EIGHT](#variable-bi_eight) | [biModSqrt](#variable-bimodsqrt) | [modN ](#variable-modn ) |
5303+ | [BI_FOUR](#variable-bi_four) | [biModSub](#variable-bimodsub) | [multiply ](#variable-multiply ) |
5304+ | [BI_ONE](#variable-bi_one) | [checkBit](#variable-checkbit) | [rightShift ](#variable-rightshift ) |
5305+ | [BI_THREE](#variable-bi_three) | [encode](#variable-encode) | [ripemd160 ](#variable-ripemd160 ) |
5306+ | [BI_TWO](#variable-bi_two) | [exclusiveOR](#variable-exclusiveor) | [scalarMultiplyWNAF ](#variable-scalarmultiplywnaf ) |
5307+ | [BI_ZERO](#variable-bi_zero) | [fromBase58](#variable-frombase58) | [sha1 ](#variable-sha1 ) |
5308+ | [GX_BIGINT](#variable-gx_bigint) | [fromBase58Check](#variable-frombase58check) | [sha256 ](#variable-sha256 ) |
5309+ | [GY_BIGINT](#variable-gy_bigint) | [getBytes](#variable-getbytes) | [sha256hmac ](#variable-sha256hmac ) |
5310+ | [MASK_256](#variable-mask_256) | [getBytes64 ](#variable-getbytes64 ) | [sha512 ](#variable-sha512 ) |
5311+ | [N_BIGINT](#variable-n_bigint) | [hash160 ](#variable-hash160 ) | [sha512hmac ](#variable-sha512hmac ) |
5312+ | [P_BIGINT](#variable-p_bigint) | [hash256 ](#variable-hash256 ) | [sign ](#variable-sign ) |
5313+ | [P_PLUS1_DIV4](#variable-p_plus1_div4) | [incrementLeastSignificantThirtyTwoBits ](#variable-incrementleastsignificantthirtytwobits ) | [toArray ](#variable-toarray ) |
5314+ | [biMod](#variable-bimod) | [jpAdd ](#variable-jpadd ) | [toBase58 ](#variable-tobase58 ) |
5315+ | [biModAdd](#variable-bimodadd) | [jpDouble ](#variable-jpdouble ) | [toBase58Check ](#variable-tobase58check ) |
5316+ | [biModInv](#variable-bimodinv) | [jpNeg ](#variable-jpneg ) | [toHex ](#variable-tohex ) |
5317+ | [biModMul](#variable-bimodmul) | [minimallyEncode ](#variable-minimallyencode ) | [toUTF8 ](#variable-toutf8 ) |
5318+ | [biModPow](#variable-bimodpow) | [modInvN ](#variable-modinvn ) | [verify ](#variable-verify ) |
5319+ | [biModSqr](#variable-bimodsqr) | [modMulN ](#variable-modmuln ) | [zero2](#variable-zero2) |
53205320
53215321Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
53225322
@@ -5673,6 +5673,31 @@ getBytes = function (numericValue: number): number[] {
56735673
56745674Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
56755675
5676+ ---
5677+ ### Variable: getBytes64
5678+
5679+ ` ` ` ts
5680+ getBytes64 = function (numericValue : number ): number [] {
5681+ if (numericValue < 0 || numericValue > Number .MAX_SAFE_INTEGER) {
5682+ throw new Error (" getBytes64: value out of range" );
5683+ }
5684+ const hi = Math .floor (numericValue / 4294967296 );
5685+ const lo = numericValue >>> 0 ;
5686+ return [
5687+ (hi >>> 24 ) & 255 ,
5688+ (hi >>> 16 ) & 255 ,
5689+ (hi >>> 8 ) & 255 ,
5690+ hi & 255 ,
5691+ (lo >>> 24 ) & 255 ,
5692+ (lo >>> 16 ) & 255 ,
5693+ (lo >>> 8 ) & 255 ,
5694+ lo & 255
5695+ ];
5696+ }
5697+ ` ` `
5698+
5699+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
5700+
56765701---
56775702### Variable: hash160
56785703
0 commit comments