Mcrypto v0.1.0 Mcrypto.Signer protocol View Source

Provide sign functionality

Link to this section Summary

Functions

create a keypair for a given preset

sign a piece of data with secret key

craete pk based on sk

verify data against a signature with public key

Link to this section Types

Link to this section Functions

create a keypair for a given preset

sign a piece of data with secret key

craete pk based on sk

Link to this function

verify(signer, data, signature, pk) View Source

verify data against a signature with public key