implement hash size property

This commit is contained in:
2025-07-20 10:04:23 +02:00
parent 17887c6b5d
commit ab3cded991
7 changed files with 22 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ import com.infendro.hash.util.toByteArray
import com.infendro.hash.util.toUIntArray
object MD5 : HashFunction() {
override val bytes: Int
get() = 16
private val s = arrayOf(
7, 12, 17, 22,
7, 12, 17, 22,