浏览代码

Update README.md

lost a ")"
SLboat 9 年之前
父节点
当前提交
89a41e0894
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -215,7 +215,7 @@ let base64: String = try! "my secret string".encrypt(AES(key: "secret0key000000"
 ...under the hood, this is [UInt8] converted to NSData converted to Base64 string representation:
 
 ```swift
-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"))
 
 let base64 = NSData(bytes: encryptedBytes).base64EncodedStringWithOptions(NSDataBase64EncodingOptions.Encoding64CharacterLineLength)
 ```