Fix linter issues.

This commit is contained in:
KotlinGeekDev
2026-03-04 01:30:38 +01:00
parent bbd17e4e64
commit a820082a6a
@@ -50,10 +50,14 @@ actual class DigestInstance actual constructor(
private fun digestForAlgorithm(algorithmName: String) =
when (algorithmName) {
"SHA-256" -> SHA256
"SHA-1" -> SHA1
"ripemd160" -> RIPEMD160
//Adding this below as a reminder.
// Adding this below as a reminder.
"keccak256" -> error("KECCAK-256 is not yet supported.")
else -> error("This message digest is not supported.")
}
}