wallet/hashing library
Properties
- DOMAIN_IC_REQUEST → Uint8List
-
final
Functions
-
crc32Add(
Uint8List buf) → Uint8List - Prepend a big-endian CRC32 checksum. @param {Buffer} buf @returns {Buffer}
-
crc32Del(
Uint8List buf) → Uint8List - Given an account address with a prepended big-endian CRC32 checksum, verify the checksum and remove it. @param {Buffer} buf @returns {Buffer}
-
hash_array(
List elements) → Uint8List - @param {Array
-
hash_bytes(
Uint8List value) → Uint8List - @param {Buffer} value @returns {Buffer}
-
hash_key_val(
dynamic key, dynamic val) → Uint8List - @param {string} key @param {string|Buffer|BigInt} val @returns {Buffer}
-
hash_of_map(
Map map) → Uint8List - @param {object} map @returns {Buffer}
-
hash_string(
String value) → Uint8List - @param {string} value @returns {Buffer}
-
hash_U64(
BigInt n) → Uint8List - @param {BigInt} n @returns {Buffer}
-
hash_val(
dynamic val) → Uint8List - @param {string|Buffer|BigInt} val @returns {Buffer}
-
HttpCanisterUpdate_id(
Map update) → Uint8List - @param {object} update @returns {Buffer}
-
HttpCanisterUpdate_representation_independent_hash(
Map update) → Uint8List - @param {object} update @returns {Buffer}
-
HttpReadState_representation_independent_hash(
Map readState) → Uint8List - @param {object} read_state @returns {Buffer}
-
make_read_state_from_update(
Map update) → Map< String, dynamic> - @param {object} update @returns {object}
-
make_sig_data(
Uint8List messageId) → Uint8List - @param {Buffer} message_id @returns {Buffer}
-
sha256Chunks(
List chunks) → Uint8List