This commit is contained in:
@@ -7,15 +7,15 @@ interface HashFunction {
|
||||
|
||||
val block: Int
|
||||
|
||||
fun hashInto(value: ByteArray, destination: ByteArray)
|
||||
fun hashInto(value: ByteArray, destination: ByteArray, destinationOffset: Int = 0)
|
||||
|
||||
fun hashInto(value: ByteArray, destination: UByteArray) =
|
||||
fun hashInto(value: ByteArray, destination: UByteArray, destinationOffset: Int = 0) =
|
||||
hashInto(value, destination.asByteArray())
|
||||
|
||||
fun hashInto(value: UByteArray, destination: UByteArray) =
|
||||
fun hashInto(value: UByteArray, destination: UByteArray, destinationOffset: Int = 0) =
|
||||
hashInto(value.asByteArray(), destination.asByteArray())
|
||||
|
||||
fun hashInto(value: UByteArray, destination: ByteArray) =
|
||||
fun hashInto(value: UByteArray, destination: ByteArray, destinationOffset: Int = 0) =
|
||||
hashInto(value.asByteArray(), destination)
|
||||
|
||||
fun hash(value: ByteArray): ByteArray =
|
||||
|
||||
Reference in New Issue
Block a user