hash_string function

Uint8List hash_string(
  1. String value
)

@param {string} value @returns {Buffer}

Implementation

// ignore: non_constant_identifier_names
Uint8List hash_string(String value) {
  return sha256Chunks([value.plainToU8a().buffer]);
}