Type Property
rawRepresentation
The shared secp256k1 context, created and randomized at initialization for use across all P256K cryptographic operations.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
nonisolated(unsafe) static let rawRepresentation: OpaquePointer
Discussion
Use this property to access the default secp256k1 context for ECDSA signing, Schnorr signatures, ECDH key agreement, and public key generation. The context is created once with create() and randomized with cryptographically secure random bytes, providing side-channel protection for operations that involve secret scalar multiplication with the elliptic curve base point.