implement block property
This commit is contained in:
@@ -7,6 +7,8 @@ abstract class HashFunction {
|
||||
val bits: Int
|
||||
get() = bytes * 8
|
||||
|
||||
abstract val block: Int
|
||||
|
||||
abstract fun hash(
|
||||
value: UByteArray,
|
||||
): UByteArray
|
||||
|
||||
Reference in New Issue
Block a user