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 e87d8ed commit ab8aabaCopy full SHA for ab8aaba
Sources/Web3Core/Utility/Data+Extension.swift
@@ -43,7 +43,7 @@ public extension Data {
43
44
/**
45
Generates an array of random bytes of the specified length.
46
- This function uses `SecRandomCopyBytes` to generate random bytes returning it as a `Data` object.
+ This function uses `SecRandomCopyBytes` to generate random bytes returning it as a `Data` object.
47
If an error occurs during random bytes generation, the function returns `nil`.
48
Error occurs only if `SecRandomCopyBytes` returns status that is not `errSecSuccess`.
49
See [all status codes](https://developer.apple.com/documentation/security/1542001-security_framework_result_codes) for possible error reasons.
0 commit comments