String hashing function that will give the same results in Delphi and PHP

I need a line hashing function that will give identical results in Delphi XE2 and PHP. What are my options? Preference will be given to a free, simple and cryptographically secure solution.

+6
source share
2 answers

You can try the SHA1, crc32 or md5 algorithms, all of this is part of the PHP core, and there are many Delphi implementations.

+8
source

Have you tried common hash functions like \sha1() ?

0
source

Source: https://habr.com/ru/post/914947/


All Articles