Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Async Crypto Endeavour #3

Merged
merged 6 commits into from
Nov 3, 2016
Merged

Async Crypto Endeavour #3

merged 6 commits into from
Nov 3, 2016

Conversation

dignifiedquire
Copy link
Member

@daviddias daviddias changed the title feat: use async crypto Async Crypto Endeavour Oct 30, 2016
waterfall([
(cb) => util.serialize(this, cb),
(serialized, cb) => util.hash(type, serialized, cb)
], (err, digest) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling it a digest can be misleading, because it is a multihash (it is prefixed with the multicodec)

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daviddias daviddias merged commit f50114a into master Nov 3, 2016
@daviddias daviddias deleted the webcrypto-ipld branch November 3, 2016 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants