diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/kbkarimov.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/kbkarimov.xcuserdatad/UserInterfaceState.xcuserstate index a2a2ce6..7545c36 100644 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/kbkarimov.xcuserdatad/UserInterfaceState.xcuserstate and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/kbkarimov.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Sources/Client.swift b/Sources/Client.swift index 8cbc50c..2aebbe7 100644 --- a/Sources/Client.swift +++ b/Sources/Client.swift @@ -161,16 +161,14 @@ public class Client { } public func createSaltedVerificationKey( - username: String, - password: String, salt: Data ) -> (salt: String, verificationKeyHex: String) { let saltStr = salt.hexEncodedString() let x: BigUInt = self.calculate_x( salt: saltStr, - username: username, - password: password + username: self.username, + password: self.password ) let v = calculate_v(group: group, x: x)