hashWithSha256

fun hashWithSha256(textToHash: String): String

Creates SHA256 hash of the given text.


fun hashWithSha256(fileToHash: File): String

Creates SHA256 hash of the given file.


fun hashWithSha256(bytes: ByteArray): String

Creates SHA256 hash of the given byte array.

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard