加密解密,依赖表CosmosEngineConfig DEC
示例#1
0
        public KPrefs(ulong secretKey)
        {
            var bytes = BitConverter.GetBytes(secretKey); // 8 bytes secret key

            Crypter = new KCrypt(bytes);
        }
示例#2
0
文件: KPrefs.cs 项目: s3chugo/KEngine
 public KPrefs(ulong secretKey)
 {
     var bytes = BitConverter.GetBytes(secretKey); // 8 bytes secret key
     Crypter = new KCrypt(bytes);
 }