class SPAKE2Plus::Protocol

Defined in:

spake2_plus/protocol.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(algorithm : Algorithms, context : String | Bytes, random : BigInt, w0 : BigInt, id_prover : String = "", id_verifier : String = "") #

[View source]

Instance Method Detail

def algorithm : Algorithms #

[View source]
def compute_secret_and_verifiers_from_x(l : Bytes, x : Bytes, y : Bytes) #

[View source]
def compute_secret_and_verifiers_from_y(w1 : BigInt, x : Bytes, y : Bytes) #

[View source]
def compute_x : Bytes #

[View source]
def compute_y : Bytes #

[View source]
def context : Bytes #

[View source]
def id_prover : String #

[View source]
def id_verifier : String #

[View source]
def random : BigInt #

[View source]
def w0 : BigInt #

[View source]