Commit 8537688
Add TAIP-12 name hashing implementation with browser crypto support
This implementation provides privacy-preserving name matching capabilities
compatible with VerifyVASP and GTR networks. Includes comprehensive test
coverage with non-Western name support (Arabic, Chinese, Korean, Japanese).
- Add nameHash.ts with SHA-256 hashing using Web Crypto API and Node.js crypto
- Add extensive test suite with 19 test cases including TAIP-12 test vectors
- Support cross-platform compatibility (browsers and Node.js)
- Add Vitest for testing framework
- Export nameHash utilities from package index
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a583d03 commit 8537688
6 files changed
Lines changed: 1827 additions & 2 deletions
File tree
- packages/typescript
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
| |||
0 commit comments