type github.com/gotd/td/internal/crypto/srp.SRP

15 uses

	github.com/gotd/td/internal/crypto/srp (current package)
		hash.go#L15: func (s SRP) Hash(password, srpB, random []byte, i Input) (Answer, error) {
		hash.go#L87: func (s SRP) hash(data ...[]byte) []byte {
		hash.go#L98: func (s SRP) saltHash(data, salt []byte) []byte {
		hash.go#L105: func (s SRP) primary(password, salt1, salt2 []byte) []byte {
		hash.go#L112: func (s SRP) secondary(password, salt1, salt2 []byte) []byte {
		hash.go#L116: func (s SRP) pbkdf2(ph1, salt1 []byte, n int) []byte {
		new_hash.go#L16: func (s SRP) computeXV(password, clientSalt, serverSalt []byte, g, p *big.Int) (x, v *big.Int) {
		new_hash.go#L33: func (s SRP) NewHash(password []byte, i Input) (hash, newSalt []byte, _ error) {
		pad.go#L9: func (s SRP) pad256FromBig(i *big.Int) (b [256]byte, r bool) {
		pad.go#L14: func (s SRP) pad256(b []byte) [256]byte {
		srp.go#L17: type SRP struct {
		srp.go#L22: func NewSRP(random io.Reader) SRP {
		srp.go#L23: 	return SRP{random: random}
		srp.go#L53: func (s SRP) bigFromBytes(b []byte) *big.Int {
		srp.go#L57: func (s SRP) bigExp(x, y, m *big.Int) *big.Int {