Broken Cipher (ARCH9112)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key swift.security.broken-cipher · Severity error · Category security · CWE CWE-327
Flags CommonCrypto DES / 3DES / RC4 / Blowfish algorithms.
Incorrect
Section titled “Incorrect”CCCrypt(CCOperation(kCCEncrypt), CCAlgorithm(kCCAlgorithmDES), ...)Correct
Section titled “Correct”let sealed = try AES.GCM.seal(data, using: key)Use CryptoKit AES.GCM or ChaChaPoly.