Skip to content

Add genPublicKey function to extract public key from private key #460

@naman-jain-15

Description

@naman-jain-15

Currently, Sprig provides the genPrivateKey function to generate private keys for various cryptographic algorithms (RSA, ECDSA, Ed25519, etc.). However, there is no corresponding genPublicKey function to extract the public key from a generated private key.

Contribution
I would be happy to implement this feature and submit a PR if the maintainers are open to this addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions