summaryrefslogtreecommitdiff
path: root/go/diffie-hellman/diffie_hellman.go
blob: 27d810ef12a93a59b793dce585f4c071dbd6d284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package diffiehellman

import "math/big"

func PrivateKey(p *big.Int) (priv *big.Int) {
	return new(big.Int)
}

func PublicKey(a, p *big.Int, g int64) (pub *big.Int) {
	return new(big.Int)
}

func SecretKey(a, B, p *big.Int) (s *big.Int) {
	return new(big.Int)
}

func NewPair(p *big.Int, g int64) (a, A *big.Int) {
	return new(big.Int), new(big.Int)
}