Skip to content

Commit 776180a

Browse files
committed
fixup! Add native entropy for iOS
1 parent 4429e63 commit 776180a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhoenixCrypto/PhoenixCrypto/Classes/NativeWeakRandom.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fileprivate var log = Logger(
1111
public class NativeWeakRandom: NSObject {
1212

1313
@objc
14-
func toByteArr(i: UInt64) -> [UInt8] {
14+
private class func toByteArr(i: UInt64) -> [UInt8] {
1515
let count = MemoryLayout<UInt64>.size
1616
var _i = i
1717
let bytePtr = withUnsafePointer(to: &_i) {

0 commit comments

Comments
 (0)