Struct wow_srp::client::SrpClientUser[][src]

pub struct SrpClientUser { /* fields omitted */ }
Expand description

Starting point of the client. Next step is SrpClientChallenge.

Uses NormalizedStrings for the reasons described there.

All arrays are little endian.

Implementations

Creates a new SrpClientUser from username and password.

NormalizedString is used for the reasons described there.

Takes the server supplied variables and computes the next step.

The generator and large safe prime are not checked for validity.

All arrays are little endian.

Panics

Panics on the extremely unlikely chance that the generated public key is invalid. See PublicKey for details on validity.

There are only two invalid states for the randomly generated server public key:

This is 2 out of 2^256 possible states. The chances of this occurring naturally are very slim. It is significantly more likely that the RNG of the system has been compromised in which case authentication is not possible.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.