Przeglądaj źródła

Merge pull request #212 from SLboat/patch-3

Update README.md
Marcin Krzyzanowski 10 lat temu
rodzic
commit
55cf3ba540
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -173,7 +173,7 @@ let hash = "123".md5()
 Some content-encryption algorithms assume the input length is a multiple of k octets, where k is greater than one. For such algorithms, the input shall be padded.
 Some content-encryption algorithms assume the input length is a multiple of k octets, where k is greater than one. For such algorithms, the input shall be padded.
 
 
 ```swift
 ```swift
-let paddedData = PKCS7().add(bytes, AES.blockSize)
+let paddedData = PKCS7().add(arr, blockSize: AES.blockSize)
 ```
 ```
 
 
 Working with Ciphers
 Working with Ciphers