6 Commits

Author SHA1 Message Date
Alex Potsides
1974eb92be feat: use async await (#18)
BREAKING CHANGE: Callback support has been dropped in favor of async/await.

* feat: use async/await

This PR changes this module to remove callbacks and use async/await. The API is unchanged aside from the obvious removal of the `callback` parameter.

refs https://github.com/ipfs/js-ipfs/issues/1670

* fix: use latest multihashing-async as it is all promises now
2019-07-10 11:35:58 +01:00
Arve Knudsen
3bb84514d1 fix(unmarshal): provide only one arg to callback (#17) 2019-07-10 09:56:11 +01:00
Alberto Elias
f4dbd62e49 feat: add id() method to Secp256k1PrivateKey
Feature parity with ed25519 and rsa
2019-02-20 13:23:05 +01:00
David Dias
0dcf1a6f52 fix: circular circular dep -> DI 2017-07-22 13:31:42 -07:00
David Dias
4ee48a737a feat: next libp2p-crypto (#4)
* feat: next libp2p-crypto

* chore: update deps
2017-07-22 11:12:30 -07:00
Yusef Napora
4c36aeba17 feat: initial implementation 2017-02-09 12:35:39 +01:00