Documentation ¶
Index ¶
- Variables
- func CBCDecrypter(data, cbcKey []byte) []byte
- func DefaultConfigDir() string
- func GetAesKeyRandomFromDb(db localdb.Database) []byte
- func GetConfigFilePath(configPath, defaultFileName string) string
- func GetCurrentIp() string
- func GetFilePath() string
- func ReadNumberFromFile(filePath string) (*big.Int, error)
- func RsaSignVer(data []byte, signature []byte, db localdb.Database, appId string) error
- func RsaSignVerWithKey(data []byte, signature []byte, publicKey []byte) error
- func WriteNumberToFile(filePath string, blkNumber *big.Int) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NoRWMutex sync.RWMutex
file
Functions ¶
func DefaultConfigDir ¶
func DefaultConfigDir() string
func GetConfigFilePath ¶
configPath 不为空时,不检查fileName
func GetCurrentIp ¶
func GetCurrentIp() string
func GetFilePath ¶
func GetFilePath() string
func RsaSignVer ¶
公钥验证
func RsaSignVerWithKey ¶
公钥验证with公钥
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.