Remove all annotations
This commit is contained in:
1 parent
d901a45b87
commit
3ad86e284a
46 files changed
+142
-142
No files matched your search
+2
-2
@@ -26,7 +26,7 @@ interface Hash {
|
||||
val MAX_HASH_BYTES : Int
|
||||
}
|
||||
|
||||
@ExperimentalUnsignedTypes
|
||||
|
||||
interface UpdatableHash : Hash {
|
||||
fun update(data : UByteArray)
|
||||
|
||||
@@ -37,7 +37,7 @@ interface UpdatableHash : Hash {
|
||||
fun digestString() : String
|
||||
}
|
||||
|
||||
@ExperimentalUnsignedTypes
|
||||
|
||||
interface StatelessHash : Hash {
|
||||
fun digest(inputString: String, key: String? = null, hashLength: Int = MAX_HASH_BYTES): UByteArray
|
||||
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ import com.ionspin.kotlin.crypto.hash.UpdatableHash
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 24-May-2020
|
||||
*/
|
||||
@ExperimentalUnsignedTypes
|
||||
|
||||
interface Blake2b : UpdatableHash
|
||||
@ExperimentalUnsignedTypes
|
||||
|
||||
interface Blake2bStatelessInterface : StatelessHash {
|
||||
@ExperimentalUnsignedTypes
|
||||
|
||||
override val MAX_HASH_BYTES: Int
|
||||
get() = 64
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user