Skip to content

Commit

Permalink
TECH: removed redundant method params
Browse files Browse the repository at this point in the history
  • Loading branch information
kerimovscreations committed May 26, 2024
1 parent d875032 commit 2169442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Binary file not shown.
6 changes: 2 additions & 4 deletions Sources/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2169442

Please sign in to comment.