Skip to content

Commit 79c7239

Browse files
author
christophhagen
committed
2 parents bd78cb9 + e88aa9e commit 79c7239

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Currently supported operations:
3333

3434
### Randomness
3535

36-
`CryptoKit25519` provides no source of cryptographically secure random numbers. This source must be provided before ANY of the following operations are performed:
36+
`CryptoKit25519` requires a source of cryptographically secure random numbers to generate keys. On supported platforms (iOS 2.0+, macOS 10.7+, tvOS 9.0+, watchOS 2.0+, macCatalyst 13.0+) [SecCopyRandomBytes](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes) is used as the default. On other platforms, this source MUST be provided before any of the following operations are performed:
3737
- `Curve25519.Signing.PrivateKey()`
3838
- `Curve25519.KeyAgreement.PrivateKey()`
3939
- `SymmetricKey(size:)`

0 commit comments

Comments
 (0)