View Code for Logic/Security/SampleEncryptionUtil.cs

Source code for the file Logic/Security/SampleEncryptionUtil.cs is shown below.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuantumConcepts.Common.Security;

namespace QuantumConcepts.CodeGenerator.Sample.Logic.Security
{
    public class SampleEncryptionUtil : QuantumConcepts.Common.Security.EncryptionUtil
    {
        private static SampleEncryptionUtil _instance = new SampleEncryptionUtil();

        public static SampleEncryptionUtil Instance { get { return _instance; } }

        protected override byte[] EncryptionKey
        {
            get { return Encoding.ASCII.GetBytes("1BA014142FEF41C882F6F63C70A3A5E7"); }
        }
    }
}