finclip-app-manager/infrastructure/utils/encrypt_drawin.go

54 lines
1.2 KiB
Go
Raw Normal View History

2023-10-31 14:07:26 +08:00
// +build darwin
package utils
import "C"
const (
BundleIDFinChatIOS = "com.finogeeks.finchat.oa"
BundleIDFinChatAndroid = "com.finogeeks.finochatapp"
BundleFTHelp = "com.finogeeks.mop.finosprite"
BundleIDFinElves = "com.finogeeks.finosprite"
BundleIDDemo = "com.finogeeks.finchat.finappletdemo"
BundleIDSample = "com.finogeeks.lib.applet.sample"
BundleIdVerifyAssistant = "com.finogeeks.mop.finoverify"
SecretFinChatIOS = "919248e19a6c7fd3"
SecretFinChatAndroid = "154a4a31a57e75cb"
SecretFinElves = "703b9026be3d6bc5"
SecretDemo = "705b46f78820c7a8"
SecretSample = "42ac8b95d32b95e7"
SecretVerifyAssistant = "b2f3d5bd38b0bfa5"
)
const (
BUFF_LEN = 1024 * 4
)
var SDKKeyFinChatIOS string
var SDKKeyFinChatAndroid string
var SDKKeyFTHelp string
var SDKKeyFinElves string
var SDKKeyDemo string
var SDKKeySample string
var SDKKeyVerifyAssistant string
var SDKArry []string
func init() {
}
// EncryptSM4 国密算法加密
func EncryptSM4(str string) string {
return str
}
// Encrypt 对称加密调用cgo静态库
func Encrypt(str string) string {
return str
}
// EncodeAESContent 对称加密调用cgo静态库
func EncodeAESContent(str string) string {
return str
}