// decodeVerifierAndSalt decodes DB-ready string into SRP verifier and salt
decodeVerifierAndSalt decodes DB-ready string into SRP verifier and salt
// decodeVerifierAndSalt decodes DB - ready string into SRP verifier and salt
func decodeVerifierAndSalt(src string) ([]byte, []byte, error) {
	sString := strings.Split(src, "#")[0]
	vString := strings.Split(src, "#")[1]
	s, err := base64.StdEncoding.DecodeString(sString)
	if err != nil {
		return nil, nil, err
	}
	v, err := base64.StdEncoding.DecodeString(vString)
	if err != nil {
		return nil, nil, err
	}
	return s, v, nil
}
func decodeVerifierAndSalt ( src string ) ( [ ] byte , [ ] byte , error ) { sString := strings . Split ( src , " " ) [ 0 ] vString := strings . Split ( src , " " ) [ 1 ] s , err := base64 . StdEncoding . DecodeString ( sString ) if err != nil { return nil , nil , err } v , err := base64 . StdEncoding . DecodeString ( vString ) if err != nil { return nil , nil , err } return s , v , nil }
decodeVerifierAndSalt decodes DB-ready string into SRP verifier and salt
decodeVerifierAndSalt decodes DB - ready string into SRP verifier and salt