Does Free Pascal have a way to implement SHA256 or SHA512?

The Free Pascal libraries have a hash library that allows you to use the hash algorithms MD5 and SHA1 (http://wiki.freepascal.org/hash). But what if I wanted to use a higher one like SHA256 or SHA512? Can I achieve this using Free Pascal? Finding zeros on the Wiki Retrrrs for SHA256 \ SHA512.

+3
source share
3 answers

In Google search codes, I found several units that implement it in pascal.

Request: sha256 | sha512 lang: pascal

Double Commander, norton/total commander, FreePascal Lazarus, .

+3

(, 2 ) "" "sha1" "md5",

, DCPCrypt,

http://www.cityinthesky.co.uk/opensource/dcpcrypt

, , .

+5

For other hashes, I use "Decryption Compendium (DEC) 5.2." I do not know if it works with FPC, but you should try. There is THash_SHA512and THash_SHA256. Download it: http://www.torry.net/pages.php?id=519#939342

+1
source

All Articles