init(compactRepresentable:)
Creates a random P-384 private key for VOPRF(P-384, SHA-384).
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
init(compactRepresentable: Bool = true)
Parameters
- compactRepresentable
Determines whether to create a key that supports compact point encoding.
Keys that use a compact point encoding enable shorter public keys, but aren’t compliant with FIPS certification. If your app requires FIPS certification, create a key with init(rawRepresentation:)
.