瀏覽代碼

Merge pull request #1053 from nnsW3/docs-fix-spelling-issues

Docs fix spelling issues
Marcin Krzyzanowski 1 年之前
父節點
當前提交
6d7c104cac
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Sources/CryptoSwift/ASN1/ASN1.swift
  2. 1 1
      Sources/CryptoSwift/BlockMode/GCM.swift

+ 1 - 1
Sources/CryptoSwift/ASN1/ASN1.swift

@@ -48,7 +48,7 @@ enum ASN1 {
     /// An array of more `ASN1.Node`s
     case sequence(nodes: [Node])
     /// An integer
-    /// - Note: This ASN1 Encoder makes no assumptions about the sign and bit order of the integers passed in. The conversion from Integer to Data is your responsiblity.
+    /// - Note: This ASN1 Encoder makes no assumptions about the sign and bit order of the integers passed in. The conversion from Integer to Data is your responsibility.
     case integer(data: Data)
     /// An objectIdentifier
     case objectIdentifier(data: Data)

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

@@ -283,7 +283,7 @@ private final class GF {
     self.h = h
     self.x = 0
 
-    // Calculate for AAD at the begining
+    // Calculate for AAD at the beginning
     self.x = GF.calculateX(aad: aad, x: self.x, h: h, blockSize: blockSize)
   }