module SPAKE2Plus

Overview

Password Authenticated Key Exchange (PAKE) https://datatracker.ietf.org/doc/pdf/draft-bar-cfrg-spake2plus-02.pdf

Defined in:

spake2_plus.cr

Constant Summary

MATTER_DEFAULT = SPAKE2Plus::Algorithms.new(Curve::P256, OpenSSL::Algorithm::SHA256, MAC::HMAC)
VERSION = "1.0.0"

Constructors

Constructor Detail

def self.new(context : String | Bytes, w0 : BigInt, algorithm : Algorithms = MATTER_DEFAULT) : SPAKE2Plus::Protocol #

[View source]