My random rumblings

Something of everything and nothing at all

Update blogengine.net password

The password of the blogengine.net application's password can be found in the users.xml file.

The following PowerShell script can be used to generate a new password.


$password = "The new password"

$passwordBytes = [System.Text.Encoding]::UTF8.GetBytes($password)

$sha256 = New-Object System.Security.Cryptography.SHA256Managed

$sha256.TransformFinalBlock($passwordBytes, 0, $passwordBytes.Length)

$passwordHash = [System.Convert]::ToBase64String($sha256.Hash)

$passwordHash

Loading