Parent Issue
Part of #23 (Onion service support)
Overview
Add onion address parsing using tor-hscrypto crate.
Tasks
Technical Notes
tor-hscrypto already compiles for WASM
HsId implements FromStr for parsing "${base32}.onion" addresses
- Validates checksum and version byte (v3 = 0x03)
Acceptance Criteria
Parent Issue
Part of #23 (Onion service support)
Overview
Add onion address parsing using
tor-hscryptocrate.Tasks
tor-hscryptodependency to webtorwebtor/src/onion.rsmoduleOnionAddresstype wrappingHsIdTechnical Notes
tor-hscryptoalready compiles for WASMHsIdimplementsFromStrfor parsing "${base32}.onion" addressesAcceptance Criteria