瀏覽代碼

Fixed a comment

Brandon Toms 3 年之前
父節點
當前提交
492f90f3d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/CryptoSwift/RSA/RSA+Cipher.swift

+ 1 - 1
Sources/CryptoSwift/RSA/RSA+Cipher.swift

@@ -87,7 +87,7 @@ extension RSA {
         case .unsafe:
           return bytes
         case .raw:
-          // We need at least 11 bytes of random padding in order to safely encrypt messages
+          // We need at least 11 bytes of padding in order to safely encrypt messages
           guard blockSize >= bytes.count + 11 else { throw RSA.Error.invalidMessageLengthForEncryption }
           return Array(repeating: 0x00, count: blockSize - bytes.count) + bytes
         case .pksc1v15: