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

added secp256k1 algo for key generation #780

Conversation

artur-torosian-4irelabs

Added algo secp256k1 for key generation process.
It uses https://www.npmjs.com/package/secp256k1 npm module; private key generates from random bytes using core nodejs lib 'crypto', public key generation, signing and verifying provided by secp256k1 module;
This feature will add an option to generate keys using new algorithm

@@ -44,6 +49,7 @@ export class PublicKey extends Assignable {

static fromString(encodedKey: string): PublicKey {
const parts = encodedKey.split(':');
//TODO: ask what to do in this case

Choose a reason for hiding this comment

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

Need advice on how to deal with this

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in another 7 days.

@github-actions github-actions bot added the Stale label Feb 8, 2022
@github-actions github-actions bot closed this Feb 15, 2022
@mikedotexe mikedotexe reopened this Feb 18, 2022
@samingle samingle mentioned this pull request Feb 23, 2022
@github-actions github-actions bot closed this Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants