Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptECDH ¶
func NewEcdh ¶
func NewEcdh() *EncryptECDH
func (*EncryptECDH) Encrypt ¶
func (e *EncryptECDH) Encrypt(d, k []byte) []byte
func (*EncryptECDH) FetchPubKey ¶
func (e *EncryptECDH) FetchPubKey(uin int64)
FetchPubKey 从服务器获取PubKey
func (*EncryptECDH) ID ¶
func (e *EncryptECDH) ID() byte
type EncryptSession ¶
type EncryptSession struct {
T133 []byte
}
func NewEncryptSession ¶
func NewEncryptSession(t133 []byte) *EncryptSession
func (*EncryptSession) Encrypt ¶
func (e *EncryptSession) Encrypt(d, k []byte) []byte
func (*EncryptSession) ID ¶
func (e *EncryptSession) ID() byte
Click to show internal directories.
Click to hide internal directories.