purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::accountable::ScalarSignature Class Reference

Canonical 32-byte scalar response; carries no nonce or proof. More...

#include <accountable.hpp>

Public Member Functions

std::array< unsigned char, 32 > serialize () const
 Return the complete scalar-only wire representation.

Static Public Member Functions

static Result< ScalarSignature > deserialize (std::span< const unsigned char > bytes)
 Parse exactly 32 big-endian bytes below the group order, including zero.

Detailed Description

Definition at line 34 of file accountable.hpp.

Member Function Documentation

◆ deserialize()

Result< ScalarSignature > purify::accountable::ScalarSignature::deserialize ( std::span< const unsigned char > bytes)
staticnodiscard

◆ serialize()

std::array< unsigned char, 32 > purify::accountable::ScalarSignature::serialize ( ) const
inlinenodiscard

The documentation for this class was generated from the following files: