We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9933e15 commit c79330cCopy full SHA for c79330c
Sources/SRP/client.swift
@@ -96,6 +96,7 @@ public struct SRPClient<H: HashFunction> {
96
) -> [UInt8] {
97
let clientPublicKey = clientPublicKey.with(padding: configuration.sizeN)
98
let serverPublicKey = serverPublicKey.with(padding: configuration.sizeN)
99
+ let sharedSecret = sharedSecret.with(padding: configuration.sizeN)
100
let hashSharedSecret = [UInt8](H.hash(data: sharedSecret.bytes))
101
// get verification code
102
return SRP<H>.calculateClientProof(
0 commit comments