From 3a33781db82e924951afb65a59e418ea5e69c932 Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Wed, 3 Mar 2021 10:32:31 +0100 Subject: [PATCH] Use int instead of ulong --- .../kotlin/com.ionspin.kotlin.crypto/pwhash/PasswordHash.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiplatform-crypto-libsodium-bindings/src/commonMain/kotlin/com.ionspin.kotlin.crypto/pwhash/PasswordHash.kt b/multiplatform-crypto-libsodium-bindings/src/commonMain/kotlin/com.ionspin.kotlin.crypto/pwhash/PasswordHash.kt index 75f5ab8..a842a54 100644 --- a/multiplatform-crypto-libsodium-bindings/src/commonMain/kotlin/com.ionspin.kotlin.crypto/pwhash/PasswordHash.kt +++ b/multiplatform-crypto-libsodium-bindings/src/commonMain/kotlin/com.ionspin.kotlin.crypto/pwhash/PasswordHash.kt @@ -6,7 +6,7 @@ package com.ionspin.kotlin.crypto.pwhash const val crypto_pwhash_BYTES_MIN = 16U -const val crypto_pwhash_MEMLIMIT_INTERACTIVE = 67108864U +const val crypto_pwhash_MEMLIMIT_INTERACTIVE = 67108864 const val crypto_pwhash_MEMLIMIT_MIN = 8192 const val crypto_pwhash_MEMLIMIT_MODERATE = 268435456 const val crypto_pwhash_MEMLIMIT_SENSITIVE = 1073741824