示例#1
0
        public static string CreateConfigName(Guid appKey, Guid servKey, Guid envKey, string configName)
        {
            string prefix = CreatePrefix(appKey, servKey, envKey);

            return($"{prefix}{Encryptor.Ecrypt(configName)}");
        }
示例#2
0
 private static string CreatePrefix(Guid appKey, Guid servKey, Guid envKey)
 {
     return(Encryptor.EcryptOneWay($"{appKey}{servKey}{envKey}"));
 }