Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

KeyPair

Fully qualified path: snforge_std::signature::KeyPair

[derive(Copy, Drop)]
pub struct KeyPair<SK, PK> {
    pub secret_key: SK,
    pub public_key: PK,
}

Members

secret_key

A key that is used for signing the messages

Fully qualified path: snforge_std::signature::KeyPair::secret_key

pub secret_key: SK

public_key

A (x, y) point on the elliptic curve used for verification of the signature

Fully qualified path: snforge_std::signature::KeyPair::public_key

pub public_key: PK