Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ECDH map[string]*BaseECDH EcdhPrimePublic, _ = hex.DecodeString("049D1423332735980EDABE7E9EA451B3395B6F35250DB8FC56F25889F628CBAE3E8E73077914071EEEBC108F4E0170057792BB17AA303AF652313D17C1AC815E79") EcdhSecpPublic, _ = hex.DecodeString("04928D8850673088B343264E0C6BACB8496D697799F37211DEB25BB73906CB089FEA9639B4E0260498B51A992D50813DA8") )
View Source
var CURVE map[string]*EllipticCurve
Functions ¶
This section is empty.
Types ¶
type BaseECDH ¶
type BaseECDH struct {
// contains filtered or unexported fields
}
func (*BaseECDH) GetPublicKey ¶
func (*BaseECDH) GetShareKey ¶
type ECDHProvider ¶
type ECDHProvider struct {
// contains filtered or unexported fields
}
type EllipticCurve ¶
type EllipticCurve struct {
// contains filtered or unexported fields
}
type EllipticPoint ¶
type EllipticPoint struct {
// contains filtered or unexported fields
}
func (*EllipticPoint) Equals ¶
func (p *EllipticPoint) Equals(other *EllipticPoint) bool
func (*EllipticPoint) IsDefault ¶
func (p *EllipticPoint) IsDefault() bool
func (*EllipticPoint) Negate ¶
func (p *EllipticPoint) Negate() *EllipticPoint
Click to show internal directories.
Click to hide internal directories.