Skip to content

Secure Remote Password (SRP) demo, using typescript, crypto and bigint.

Notifications You must be signed in to change notification settings

SanichKotikov/srp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Remote Password DEMO

The Secure Remote Password protocol (SRP) is an augmented password-authenticated key exchange (PAKE) protocol.

Definitions

N — A large safe prime;
g — A generator modulo N;
k — Multiplier parameter;
s — The user salt;
v — Password Verifier;
x — Private key (The hash of salt + password);
a — Client secret key;
b — Server secret key;
A — Client public key;
B — Server public key;
u — The value of preventing attacker who learns a user's verifier;
S — Pre-master secret (The secure common session key);
K — The session key hash for used to generate M;
M — Evidence message, To verify both sides generated the same session key;

Uses

About

Secure Remote Password (SRP) demo, using typescript, crypto and bigint.

Topics

Resources

Stars

Watchers

Forks