package
2.5.2+incompatible
Repository: https://github.com/chubaofs/cfs.git
Documentation: pkg.go.dev

# Functions

AesDecryptCBC defines aes decryption with CBC.
AesEncryptCBC defines aes encryption with CBC.
AuthGenSessionKeyTS authnode generates a session key according to its master key and current timestamp.
Base64Decode Decoding using base64.
Base64Encode encoding using base64.
CreateClientX creates a https client.
DecodeMessage decode a message and verify its validity.
EncodeMessage encode a message with aes encrption, md5 signature.
GenSecretKey generate a secret key according to pair {ts, id}.
GenVerifier generate a verifier for replay mitigation in http.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CryptoKey store the session key.
Ticket is a temperary struct to store permissions/caps for clients to access principle.