This commit is contained in:
@@ -16,7 +16,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.infendro:otp:1.3.0")
|
||||
implementation("com.infendro:otp:1.3.1")
|
||||
}
|
||||
```
|
||||
|
||||
@@ -26,7 +26,7 @@ dependencies {
|
||||
fun main() {
|
||||
// create TOTP instance
|
||||
val totp = TOTP(
|
||||
function = SHA1,
|
||||
function = SHA1(),
|
||||
length = 6,
|
||||
period = 30.seconds,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user