diff --git a/Sources/CryptoSwift/ASN1/ASN1.swift b/Sources/CryptoSwift/ASN1/ASN1.swift index e1e289af..a865ddd7 100644 --- a/Sources/CryptoSwift/ASN1/ASN1.swift +++ b/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) diff --git a/Sources/CryptoSwift/BlockMode/GCM.swift b/Sources/CryptoSwift/BlockMode/GCM.swift index 4e52ce85..5072cd45 100644 --- a/Sources/CryptoSwift/BlockMode/GCM.swift +++ b/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) }