Verify Cryptographic Authenticity after Downloading Releases (Signatures)

If you downloaded the latest version then your download URL would have been:
https://wordpress.org/wordpress-6.5.3.zip

You can find the md5 hash for this file by adding .md5 to the end of that URL, like this:
https://wordpress.org/wordpress-6.5.3.zip.md5

The md5 hash for this file is: ad3b0a21dec368341d64906e86db49f7

So, theoretically, you should be able to get the md5 hash of the downloaded file via Linux command line or ssh using the command md5sum followed by the file name.

… or in PHP, with a line of code like this:
md5_file('wordpress-6.5.3.zip');