Display point in base58 (#305)
* Compress EC subgroup points before serialising * serialize and display point in base58 * Use Display for Points --------- Co-authored-by: Ahmad <root@ahmadafuni.com>
This commit is contained in:
parent
151419ec88
commit
d5da9d8593
4 changed files with 87 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
// Create a schnorr key pair to sign the pod
|
||||
let sk = SecretKey::new_rand();
|
||||
let pk = sk.public_key();
|
||||
println!("Public key: {:?}\n", pk);
|
||||
println!("Public key: {}\n", pk);
|
||||
|
||||
let mut signer = Signer(sk);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue