getHash function

String getHash(
  1. String string
)

Get hash of String

Implementation

String getHash(String string) => sha256.convert(string.codeUnits).toString();