sha256Hex function

String sha256Hex(
  1. String text
)

Lowercase hex SHA-256 of the UTF-8 bytes of text.

Implementation

String sha256Hex(String text) => crypto.sha256.convert(utf8.encode(text)).toString();