Beispiel #1
0
        public static string EncryptText(string text, string passwordPhrase)
        {
            var aesEncrypted = AesEncrypt.EncryptText(text, passwordPhrase);
            var desEncrypted = DesEncrypt.EncryptString(aesEncrypted, passwordPhrase);

            return(desEncrypted);
        }