convert HashFunction to interface

This commit is contained in:
2025-12-12 14:08:52 +01:00
parent 17b765b13c
commit 1ddda4889a
14 changed files with 19 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ import com.infendro.bytearray.toUByteArray
import com.infendro.bytearray.toUIntArray
import com.infendro.hash.HashFunction
object `SHA-256` : HashFunction() {
object `SHA-256` : HashFunction {
override val bytes: Int
get() = 32