hashFor

fun MessageDigest.hashFor(input: InputStream): ByteArray

Compute hash for contents of InputStream.