private void Unlock(object param)
        {
            // we hard code this since its only for my personal use
            const string salt = "FiKL4@C'y#K(=]zZ";

            if (Sha256.Encode(Password, salt) == "108332bcb31ad023158e82056613903d4b561440a9a69c7327f92a6fc9807fc4")
            {
                Sounds.PlayUnlockSound();

                IconSource = _greenIcon;

                var animation = new DoubleAnimation(0, 90, new Duration(TimeSpan.FromSeconds(0.5)));

                //Change view when completed
                animation.Completed += (sender, args) => {
                    OnNavigateToMainView();
                    ResetViewModel();
                };
                Transform.BeginAnimation(RotateTransform.AngleProperty, animation);
            }
            else
            {
                Controller.ShowErrorMessage("The password is incorrect\r\nHint: password");
            }
        }
        private void CreateMainView()
        {
            _mainView = new MainView();

            const string salt = "s4XLnd.tg}2?'Cy:";

            string key = Sha256.Encode(_lockViewModel.Password, salt);

            _mainViewModel = new MainViewModel(new Storage.XmlStorage(new SimpleAes(key), new Base64BitmapSourceSerializer()));
            _mainViewModel.NavigateToLockView += MainViewModelNavigateToLockView;

            _mainViewModel.Controller = new MainViewModelController(_mainView, _mainViewModel);

            _mainView.DataContext = _mainViewModel;
        }