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.
1 parent c400615 commit 21b3bf5Copy full SHA for 21b3bf5
Tests/CipherTests.swift
@@ -16,7 +16,7 @@ class CipherTests: XCTestCase {
16
// db2
17
let keyData = NSMutableData(length: 64)!
18
let _ = SecRandomCopyBytes(kSecRandomDefault, 64, UnsafeMutablePointer<UInt8>(keyData.mutableBytes))
19
- try! db2.key("hello")
+ try! db2.key(Blob(bytes: keyData.bytes, length: keyData.length))
20
21
try! db2.run("CREATE TABLE foo (bar TEXT)")
22
try! db2.run("INSERT INTO foo (bar) VALUES ('world')")
0 commit comments