Explorar o código

Mark public calculate()

Marcin Krzyżanowski %!s(int64=9) %!d(string=hai) anos
pai
achega
3cf8bdbd05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/CryptoSwift/PKCS5/PBKDF2.swift

+ 1 - 1
Sources/CryptoSwift/PKCS5/PBKDF2.swift

@@ -45,7 +45,7 @@ public extension PKCS5 {
             self.numBlocks = UInt(ceil(Double(keyLengthFinal) / hLen))  // l = ceil(keyLength / hLen)
         }
 
-        func calculate() -> [UInt8] {
+        public func calculate() -> [UInt8] {
             var ret = [UInt8]()
             for i in 1...self.numBlocks {
                 // for each block T_i = U_1 ^ U_2 ^ ... ^ U_iter