Documentation ¶
Index ¶
- func NewLogic(ctx *gin.Context) *logic
- func ReadRSAPrivateKey(readFile []byte) (*rsa.PrivateKey, error)
- func ReadRSAPublicKey(readFile []byte) (*rsa.PublicKey, error)
- func RsaDecrypt(ciphertext []byte, prvKey *rsa.PrivateKey) []byte
- func RsaEncrypt(data []byte, pub *rsa.PublicKey) []byte
- func RsaSignWithSha256(data []byte, keyBytes []byte) []byte
- func RsaVerySignWithSha256(data, signData []byte, pubKey *rsa.PublicKey) bool
- type PostBody
- type UserSearchResPon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.