Exemplo n.º 1
0
        public static bool NTv1HashTest()
        {
            byte[] hash     = NTAuthentication.NTOWFv1("Password");
            byte[] expected = new byte[] { 0xa4, 0xf4, 0x9c, 0x40, 0x65, 0x10, 0xbd, 0xca, 0xb6, 0x82, 0x4e, 0xe7, 0xc3, 0x0f, 0xd8, 0x52 };
            bool   success  = ByteUtils.AreByteArraysEqual(hash, expected);

            return(success);
        }