- Preparing search index...
- The search index is not available
fast-srp-hap
Constructors
constructor
- new SrpServer(params: SrpParams, salt_buf: Buffer, identity_buf: Buffer, password_buf: Buffer, secret2_buf: Buffer): SrpServer
-
Parameters
-
-
salt_buf: Buffer
-
identity_buf: Buffer
-
password_buf: Buffer
-
secret2_buf: Buffer
- new SrpServer(params: SrpParams, verifier_buf: Buffer, secret2_buf: Buffer): SrpServer
-
Parameters
-
-
verifier_buf: Buffer
-
secret2_buf: Buffer
- new SrpServer(params: SrpParams, identity: Identity, secret2_buf: Buffer): SrpServer
-
Properties
Optional
_M1
_M1?: Buffer
Optional
_M2
_M2?: Buffer
Optional
_u
_u?: BigInteger
Methods
checkM1
- checkM1(M1: Buffer): void
-
Returns void
computeB
- computeB(): Buffer
-
Returns Buffer
computeK
- computeK(): Buffer
-
Returns Buffer
computeM2
- computeM2(): Buffer
-
Returns Buffer
setA
- setA(A: Buffer): void
-
Returns void
Create an SRP server.
This has two modes: