Bump version to 1.7.0
This commit is contained in:
@@ -21,7 +21,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.infendro:hash:1.6.0")
|
||||
implementation("com.infendro:hash:1.7.0")
|
||||
}
|
||||
```
|
||||
|
||||
@@ -31,6 +31,6 @@ dependencies {
|
||||
fun main() {
|
||||
// hash some value using SHA-256
|
||||
val value = "Hello World!".encodeToByteArray()
|
||||
val hash = `SHA-256`.hash(value)
|
||||
val hash = `SHA-256`().hash(value)
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user