utils/bn library

Classes

Options

Functions

bitnot(BigInt bn, {int? bitLength}) BigInt
bnMax(List<BigInt> list) BigInt
bnMin(List<BigInt> list) BigInt
bnSqrt(BigInt bn) BigInt
bnToBn(dynamic value) BigInt
bnToHex(BigInt bn, {int bitLength = -1, Endian endian = Endian.big, bool isNegative = false, bool include0x = false}) String
bnToU8a(BigInt? value, {int bitLength = -1, Endian endian = Endian.little, bool isNegative = false}) Uint8List
compactToBn(Map<String, dynamic> value) BigInt
newtonIteration(BigInt n, BigInt x0) BigInt