@ngraveio/bc-ur-registry-hex-string
v0.3.1
Published
Provides BC UR type for hex string.
Downloads
9
Readme
Hex String CBOR type
This repository is the hex string extension of bc-ur-registry
Installing
To install, run:
yarn add @ngraveio/bc-ur-registry-hex-string
npm install --save @ngraveio/bc-ur-registry-hex-string
Source: https://github.com/toravir/CBOR-Tag-Specs/blob/master/hexString.md
Hex String Tag for CBOR
This document specifies a tag for Hex String in Concise Binary Object Representation (CBOR) [1].
Tag: 263
Data item: byte string
Semantics: Hexadecimal String
Point of contact: Ravi R <[email protected]>
Description of semantics: https://github.com/toravir/CBOR-Tag-Specs/blob/master/hexString.md
Semantics
Tag 263 can be applied to a byte string (major type 2) to indicate that the byte string is a hexadecimal string - any normal string is stored as hexadecimal string, but this tag means that string is to be kept as hex format and does not mean anything to convert to ASCII or anything.
References
[1] C. Bormann, and P. Hoffman. "Concise Binary Object Representation (CBOR)". RFC 7049, October 2013.
Author
Ravi R [email protected]