utils/bn library

Classes

Options

Properties

bnHundred BigInt
final
bnOne BigInt
final
bnTen BigInt
final
bnThrousand BigInt
final
bnZero BigInt
final

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}) 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