utils/big_int library
Extensions
- BigIntUint8List on BigInt
- IntHex on int
-
Uint8ListBigInt
on Iterable<
int>
Functions
-
base64ToBigInt(
String input) → BigInt -
bigIntToBase64(
BigInt input) → String -
bigIntToBytes(
BigInt number, {int? outLen, Endian endian = Endian.big}) → Uint8List - Encode a BigInt into bytes using big-endian encoding. This is I2OSP as defined in rfc3447.
-
bigIntToHex(
BigInt input) → String -
bytesToBigInt(
Iterable< int> bytes, {Endian endian = Endian.big}) → BigInt - Decodes the provided BigInt from bytes. This is OS2IP as defined in rfc3447.
-
hexToBigInt(
String input) → BigInt -
hexToIntString(
String input) → String -
intStringToHex(
String input) → String