Contents

xcodesorg/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 secret

For generating the proof above I use the method detailed in RFC2945 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.

I have also supplied a simple proof functions server.verifySimpleClientProof and client.verifySimpleServerProof which use the proof detailed in the Wikipedia page on Secure Remote Password if you would prefer to use these.

Package Metadata

Repository: xcodesorg/swift-srp

Default branch: main

README: README.md