Bogdan Bystritskiy 5 vuotta sitten
vanhempi
commit
96abfe88ee
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Sources/CryptoSwift/BlockMode/GCM.swift

+ 1 - 1
Sources/CryptoSwift/BlockMode/GCM.swift

@@ -41,7 +41,7 @@ public final class GCM: BlockMode {
 
 
   /// Length of authentication tag, in bytes.
   /// Length of authentication tag, in bytes.
   /// For encryption, the value is given as init parameter.
   /// For encryption, the value is given as init parameter.
-  /// For decryption, the lenght of given authentication tag is used.
+  /// For decryption, the length of given authentication tag is used.
   private let tagLength: Int
   private let tagLength: Int
 
 
   // `authenticationTag` nil for encryption, known tag for decryption
   // `authenticationTag` nil for encryption, known tag for decryption