Versions in this module Expand all Collapse all v0 v0.6.4 Jan 18, 2021 Changes in this version type Client + I []byte + P []byte v0.6.3 Nov 22, 2020 Changes in this version + func MakeSRPVerifier(b string) (*SRP, *Verifier, error) + func NewPrimeField(nbits int) (p, g *big.Int, err error) + func ServerBegin(creds string) (string, *big.Int, error) + type Client struct + func (c *Client) Credentials() string + func (c *Client) Generate(srv string) (string, error) + func (c *Client) RawKey() []byte + func (c *Client) ServerOk(proof string) bool + func (c *Client) String() string + type SRP struct + func New(bits int) (*SRP, error) + func NewWithHash(h crypto.Hash, bits int) (*SRP, error) + func (s *SRP) FieldSize() int + func (s *SRP) NewClient(I, p []byte) (*Client, error) + func (s *SRP) NewServer(v *Verifier, A *big.Int) (*Server, error) + func (s *SRP) Verifier(I, p []byte) (*Verifier, error) + type Server struct + func UnmarshalServer(s string) (*Server, error) + func (s *Server) ClientOk(m string) (proof string, ok bool) + func (s *Server) Credentials() string + func (s *Server) Marshal() string + func (s *Server) RawKey() []byte + func (s *Server) String() string + type Verifier struct + func (v *Verifier) Encode() (string, string)