update README

This commit is contained in:
2025-12-13 23:27:49 +01:00
parent e5bb1f5a44
commit 52f0ab0661
4 changed files with 30 additions and 26 deletions

View File

@@ -8,8 +8,8 @@ import com.infendro.mac.HMAC
import kotlin.math.pow
class HOTP(
val function: HashFunction = SHA1,
val length: Int = 6,
function: HashFunction = SHA1,
private val length: Int = 6,
) {
private val hmac = HMAC(function)