jazzdotdev / jazzdotdev/jazz

split keypair in crypto bindings

Open
#9 1 comment 0 reactions 1 assignee Claimed by @Arnaz87 View on GitHub
component/bindings progress/0.5 size/1 track/on-hold value/1
Dominant language
Rust
Stars
147
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently the crypto bindings have only one special type: keypair, of which a value is returned by `crypto.box.new_keypair` and `crypto.sign.new_keypair`, because that's the only special type it's the one with all the important operations, so to sign currently both the private and public key are needed but the public is not necessary to sign.

Change it so that private and public keys are different types with their own operations.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.