Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traverse cbor without decoding to hash certain part of a cbor #113

Closed
ashisherc opened this issue Aug 3, 2020 · 2 comments
Closed

traverse cbor without decoding to hash certain part of a cbor #113

ashisherc opened this issue Aug 3, 2020 · 2 comments

Comments

@ashisherc
Copy link

I want to hash certain parts of a cbor by traversing through the cbor and hash content. If I decode and encode the data types changes from previous ones due to the fact how js represents some data types.

@ashisherc ashisherc changed the title traverse cbor without encoding to hash certain part of a cbor traverse cbor without decoding to hash certain part of a cbor Aug 3, 2020
@hildjj
Copy link
Owner

hildjj commented Aug 3, 2020

Look at lib/commented.js for examples of how to see the bytes as they go by during decoding.

@ashisherc
Copy link
Author

continued here, #114 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants