Last active
May 10, 2022 00:57
-
-
Save aunyks/219f671a30f8a5924b7d4f3a6e8b2ecc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var eccrypto = require('eccrypto'); | |
| // Uncompressed (65-byte) public key | |
| // that corresponds to the given private key | |
| function getPublicKey(privateKey){ | |
| return eccrypto.getPublic(privateKey); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment