hashString

fun hashString(input: String, algorithm: String = "SHA-256"): String