Documentation
¶
Index ¶
- type Crypto
- func (this *Crypto) AesDecryptCBC(encrypted []byte) (decrypted []byte)
- func (this *Crypto) AesEncryptCBC(origData []byte) (encrypted []byte)
- func (this *Crypto) DecrptogRSA(src []byte, path string) (res []byte, err error)
- func (this *Crypto) EncyptogRSA(src []byte, path string) (res []byte, err error)
- func (this *Crypto) Md5(str string) string
- func (this *Crypto) RSAGenKey(bits int, folderPath string) error
- func (this *Crypto) SessionId() string
- func (this *Crypto) Sha256(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypto ¶
type Crypto struct { }
func (*Crypto) AesDecryptCBC ¶
func (*Crypto) AesEncryptCBC ¶
func (*Crypto) DecrptogRSA ¶
对数据进行加密操作
func (*Crypto) EncyptogRSA ¶
Click to show internal directories.
Click to hide internal directories.