Starknet Protocol
Overview
Cryptographic Primitives
Curve Parameters
Key Sizes
Key Features
1. Public Key Recovery
2. Signature-Based Encryption
3. ECDSA Signing and Verification
Implementation Details
Key Generation
Key Agreement
Key Recovery
Usage Examples
Basic Key Encryption
Signature-Based Encryption
Key Decryption
Message Signing
Signature Verification
Data Formats
Public Key Format
Private Key Format
Signature Format
Ephemeral Public Key Format
Security Considerations
Key Management
Signature Security
Curve Security
Performance Characteristics
Timing Benchmarks
Operation
Average Time
Notes
Memory Usage
Integration with Starknet
Smart Contract Integration
Zero-Knowledge Proofs
Testing
Unit Tests
Integration Tests
Test Environment
Error Handling
Common Errors
Error Recovery
Best Practices
Last updated