class

SecureRemotePassword::Client

Inherits SecureRemotePassword::Helpers / Reference / Object

Constructors

new(username : String, password : String, group : Int32 = 3072, algorithm : Algorithm = Algorithm::SHA512, arg_a : BigInt = random_big_int(32))
Source

Instance methods

algorithm
Source
arg_a
Source
arg_A

Generated as part of the authentication flow

Source
arg_g
Source
arg_k
Source
arg_N
Source
group
Source
process_challenge(server : Challenge)

Process initiated authentication challenge. Returns M if authentication is successful, false otherwise. Salt and B should be given in hex.

Source
session_key
Source
start_authentication
Source
username
Source
verifier
Source
verify(server_h_amk)

The server returns it's generated H(AMK) and we check it matches ours

Source