Cleanup
This commit is contained in:
1 parent
f51374ce15
commit
ccbb8ebe5b
15 files changed
+41
-33
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ interface UpdatableHash : Hash {
|
||||
|
||||
@ExperimentalUnsignedTypes
|
||||
interface StatelessHash : Hash {
|
||||
suspend fun digest(inputString: String, key: String? = null, hashLength: Int = MAX_HASH_BYTES): UByteArray
|
||||
fun digest(inputString: String, key: String? = null, hashLength: Int = MAX_HASH_BYTES): UByteArray
|
||||
|
||||
fun digest(
|
||||
inputMessage: UByteArray = ubyteArrayOf(),
|
||||
|
||||
+5
-1
@@ -9,5 +9,9 @@ import com.ionspin.kotlin.crypto.hash.UpdatableHash
|
||||
* on 24-May-2020
|
||||
*/
|
||||
interface Blake2b : UpdatableHash
|
||||
interface Blake2bStatelessInterface : StatelessHash
|
||||
interface Blake2bStatelessInterface : StatelessHash {
|
||||
@ExperimentalUnsignedTypes
|
||||
override val MAX_HASH_BYTES: Int
|
||||
get() = 64
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user