public void hash_from_array() { var hash = new PasswordHash(Password, Salt.Generate()); var bytes = hash.Hash; var hash2 = new PasswordHash(bytes); hash2.Should().Be(hash); hash.ToString().ToConsole(); hash2.ToString().ToConsole(); }