We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e011dd + 89a41e0 commit cd2168cCopy full SHA for cd2168c
README.md
@@ -215,7 +215,7 @@ let base64: String = try! "my secret string".encrypt(AES(key: "secret0key000000"
215
...under the hood, this is [UInt8] converted to NSData converted to Base64 string representation:
216
217
```swift
218
-let encryptedBytes: [UInt8] = try "my secret string".encrypt(AES(key: "secret0key000000", iv: "0123456789012345")
+let encryptedBytes: [UInt8] = try "my secret string".encrypt(AES(key: "secret0key000000", iv: "0123456789012345"))
219
220
let base64 = NSData(bytes: encryptedBytes).base64EncodedStringWithOptions(NSDataBase64EncodingOptions.Encoding64CharacterLineLength)
221
```
0 commit comments