Bouke / SRP

Secure Remote Password (SRP) for Swift

Home Page:http://boukehaarsma.nl/SRP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change calculation of B according to errata

Bouke opened this issue · comments

As reported in the errata, we shouldn't be doing:

B = ( k*v + (g^b % N)) % N

but:

B = ( k*v + g^b ) % N