github.com/opencoff/go-srp (go): prime.go - Generate safe primes  Copyright 2013-2017 Sudhi Herle <sudhi.herle-at-gmail-dot-com> License: MIT  Package srp implements SRP-6a per [1]. It uses the standard library and the golang extended library and nothing else.  This implementation is accurate as of Aug 2012 edition of the SRP specification [1].  To verify that the client has generated the same key "K", the client sends "M" -- a hash of all the data it has and it received from the server. To validate that the server also has the same value, it requires the server to send its own proof. In the SRP paper [1], the authors use:  We use a simpler construction:  In this implementation:  Per RFC-5054, we adopt the following padding convention:  References:
Keywords: go|golang|secure-authentication|srp|srp-6a