Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EcdhCipher ¶
type EcdhCipher struct {
// contains filtered or unexported fields
}
EcdhCipher ECDH加密解密信息
func (*EcdhCipher) Decrypt ¶
func (c *EcdhCipher) Decrypt(cipherText []byte) (text []byte, e error)
Decrypt 解密
func (*EcdhCipher) EncodeToken ¶
func (c *EcdhCipher) EncodeToken(timestamp int64) (string, error)
EncodeToken 加密token
Click to show internal directories.
Click to hide internal directories.