Generate SHA512 Base64 checksum using PowerShell

Copper Contributor

Hello everyone,

 

I'm looking for guidance on how to generate a SHA512 checksum with Base64 encoding rather than the standard HEX encoding. The checksum I need to verify is in Base64 format.

 

Currently, I am using the following command to generate the standard SHA512 checksum in HEX:

 

Get-FileHash -Path C:\Users\XXX\Downloads\FILENAME -Algorithm SHA512

 

However, I'm unsure about the command to generate a SHA512 checksum with Base64 encoding.

 

I prefer to use a command rather than installing additional software. Any assistance would be appreciated. Thank you.

0 Replies