示例#1
0
        public static bool LMv1HashTest()
        {
            byte[] hash     = NTAuthentication.LMOWFv1("Password");
            byte[] expected = new byte[] { 0xe5, 0x2c, 0xac, 0x67, 0x41, 0x9a, 0x9a, 0x22, 0x4a, 0x3b, 0x10, 0x8f, 0x3f, 0xa6, 0xcb, 0x6d };
            bool   success  = ByteUtils.AreByteArraysEqual(hash, expected);

            return(success);
        }