예제 #1
0
        public Byte[] GetHashValueAsByteArray(Byte[] myClearText)
        {
            if (!myClearText.Any())
                return new Byte[0];

            return BitConverter.GetBytes(Hash(myClearText, myClearText.Length));
        }
예제 #2
0
        public Byte[] GetHashValueAsByteArray(Byte[] myClearText)
        {
            if (!myClearText.Any())
                return new Byte[0];

            return _Hasher.ComputeHash(myClearText);
        }
예제 #3
0
        public String GetHashValue(Byte[] myClearText)
        {
            if (!myClearText.Any())
                return String.Empty;

            return Hash(myClearText, myClearText.Length).ToString();
        }
예제 #4
0
        public String GetHashValue(Byte[] myClearText)
        {
            if (!myClearText.Any())
                return String.Empty;

            return _Hasher.ComputeHash(myClearText).ToHexString(SeperatorTypes.NONE);
        }