add parseDidKey, verifyDidKeySignature, and Keypair abstraction
completes the crypto module's did:key lifecycle — formatDidKey already
existed but the inverse (parsing a did:key string back to key type +
raw bytes) was missing. adds a unified Keypair struct for sign/verify
workflows and a convenience verifyDidKeySignature that dispatches by
curve type.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>