hash

fun hash(data: String): String

Hashes data using SHA-256 algorithm

Return

The hashed string in hexadecimal format

Parameters

data

The string to hash