Пример #1
0
        public static byte[] DecryptPassword(byte[] encodedPassword)
        {
            Cryptographer cryptographer = new Cryptographer();

            return(cryptographer.DecryptString(encodedPassword));
        }
Пример #2
0
        public static byte[] EncryptPassword(byte[] unencryptedPassword, bool reversible)
        {
            Cryptographer cryptographer = new Cryptographer();

            return(cryptographer.EncryptString(unencryptedPassword, reversible));
        }