BigInt base64ToBigInt(String input) { final bytes = base64.decode(input); return bytesToBigInt(bytes); }