public void StandardToDotNet451_CanHashAndCompare()
        {
            var hash     = Standard.PasswordToHash(salt, pass);
            var areEqual = Framework.ComparePasswordToHash(salt, pass, hash);

            Assert.IsTrue(areEqual);
        }
        public void DotNet451_ConversionDoesNotCorruptString()
        {
            var frameworkString    = Framework.HashBytesToHexString(salt);
            var frameworkByteArray = Framework.HashHexStringToBytes(frameworkString);
            var frameworkString2   = Framework.HashBytesToHexString(frameworkByteArray);

            Assert.AreEqual(frameworkString, frameworkString2);
        }
        public void StandardToDotNet451_ConversionDoesNotCorruptString()
        {
            var standardString               = Standard.HashBytesToHexString(salt);
            var standardByteArray            = Standard.HashHexStringToBytes(standardString);
            var frameworkByteArray           = Framework.HashHexStringToBytes(standardString);
            var frameworkStringFromFramework = Framework.HashBytesToHexString(frameworkByteArray);
            var frameworkStringFromStandard  = Framework.HashBytesToHexString(standardByteArray);

            Assert.AreEqual(standardString, frameworkStringFromFramework);
            Assert.AreEqual(standardString, frameworkStringFromStandard);
        }