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 1edca6d commit 1dedaabCopy full SHA for 1dedaab
Sources/CryptoSwift/Cryptors.swift
@@ -37,6 +37,6 @@ extension Cryptors {
37
/// Convenience helper that uses `Swift.RandomNumberGenerator`.
38
/// - Parameter count: Length of array
39
public static func randomIV(_ count: Int) -> Array<UInt8> {
40
- (0..<count).map({ _ in .random(in: 0...UInt8.max) })
+ (0..<count).map({ _ in UInt8.random(in: 0...UInt8.max) })
41
}
42
0 commit comments