1.0.3 • Published 9 months ago
@hazae41/hex v1.0.3
Hex
Hexadecimal string types
npm i @hazae41/hexFeatures
Current features
- 100% TypeScript and ESM
- No external dependencies
Usage
function recover(signature: ZeroHexString<32>) {
// just use signature like a normal string
}
const raw = prompt("Enter your signature as zero-hex")
const hex = ZeroHexString.String.Length.fromOrThrow(raw, 32)
recover(hex)