spb/os-vault Public
Self-custody, multi-chain crypto wallet for macOS. One recovery phrase, six chain families, zero API keys — nothing leaves your Mac.
Swift 96%
Shell 3.4%
Makefile 0.6%
1//2// CKSecp256k1.swift — OS Vault vendored variant.3// Backed by Web3Core instead of Boilertalk/secp256k1.swift to avoid the4// duplicate `secp256k1` target name in the package graph (web3swift vendors5// its own copy). Only used by the deprecated secp256k1 derivation path.6//78import Foundation9import Web3Core1011struct CKSecp256k1 {12 static func generatePublicKey(withPrivateKey privateKeyData: Data, compression isCompression: Bool) -> Data? {13 Utilities.privateToPublic(privateKeyData, compressed: isCompression)14 }15}16