From 9369b01096e94f7de25efe1aba37bd31520ad180 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 29 Oct 2024 13:36:36 +0000 Subject: [PATCH] Remove public from calculateU --- Sources/SRP/srp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SRP/srp.swift b/Sources/SRP/srp.swift index 04dd798..6418b56 100644 --- a/Sources/SRP/srp.swift +++ b/Sources/SRP/srp.swift @@ -15,7 +15,7 @@ extension Array where Element == UInt8 { public struct SRP { /// calculate u = H(clientPublicKey | serverPublicKey) - public static func calculateU(clientPublicKey: [UInt8], serverPublicKey: [UInt8]) -> BigNum { + static func calculateU(clientPublicKey: [UInt8], serverPublicKey: [UInt8]) -> BigNum { BigNum(bytes: [UInt8].init(H.hash(data: clientPublicKey + serverPublicKey))) }