hash

fun hash(text: String): ByteArray

Hashes the given text using SHA-256.

TODO: Use a more robust hashing utility that supports salting(?)