Friday, August 7, 2020

Secure Remote Password (SRP)

https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol


1. Client sends username

2. Server gets username and sends salt and B

3. Client gets salt and B, sends A (randomized number) and M1 (calculate with salt, B, A and password, SCarol = (B − kgx)(a + ux))

4. Server verifies M1

Thursday, August 6, 2020

Wednesday, January 8, 2020

Using CocoaPods in IOS

After "pod install", open ".xcworkspace" instead of ".xcodeproj". Otherwise, the module could not be imported during compilation.