Cannot Find KDF in SASLAuthentication+SCRAM-SHA256
### Describe the issue
Hi. Following to change on 14 Oct the private func Hi doesn't compile because it cannot find KDF.
### Vapor version
4.117.0
### Operating system and version
MacOS 26.0.01
### Swift version
SPM - 6.0
### Steps to reproduce
private func Hi(string: [UInt8], salt: [UInt8], iterations: UInt32) throws -> SymmetricKey {
try KDF.Insecure.PBKDF2.deriveKey(
from: string,
salt: salt,
using: .sha256,
outputByteCount: 32,
unsafeUncheckedRounds: Int(iterations)
)
}
### Outcome
Unable to build project
### Additional notes
关闭于 2026-02-10 7 条评论