Skip to content

Commit cd2168c

Browse files
committed
Merge pull request krzyzanowskim#210 from SLboat/patch-1
Update README.md
2 parents 2e011dd + 89a41e0 commit cd2168c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ let base64: String = try! "my secret string".encrypt(AES(key: "secret0key000000"
215215
...under the hood, this is [UInt8] converted to NSData converted to Base64 string representation:
216216

217217
```swift
218-
let encryptedBytes: [UInt8] = try "my secret string".encrypt(AES(key: "secret0key000000", iv: "0123456789012345")
218+
let encryptedBytes: [UInt8] = try "my secret string".encrypt(AES(key: "secret0key000000", iv: "0123456789012345"))
219219

220220
let base64 = NSData(bytes: encryptedBytes).base64EncodedStringWithOptions(NSDataBase64EncodingOptions.Encoding64CharacterLineLength)
221221
```

0 commit comments

Comments
 (0)