Contents

adam-fowler/swift-srp

This library provides a swift implementation of the Secure Remote Password protocol. Secure Remote Password (SRP) provides username and password authentication without needing to provide your password to the server. As the server never sees your password it can never leak it to a

Proof of shared secret

For generating the client and server proofs of the shared secret I use the method detailed in RFC2945 with everything padded out to the size of N, but not all servers use this method. For this reason I have kept the sharedSecret generation separate from the proof generation, so you can insert your own version.

Package Metadata

Repository: adam-fowler/swift-srp

Default branch: main

README: README.md