Companion

Constants and factory functions of Sha256.

Functions

Link copied to clipboard
fun hashFileHex(fileSystem: ModelFileSystem, path: String, bufferSize: Int = 1024 * 1024): String

SHA-256 of the whole file at path, read in chunks.

Link copied to clipboard
fun hashHex(bytes: ByteArray): String

SHA-256 of bytes as lowercase hex.