amxmodx/public
HttrckCldHKS c071f53f2c Add new hashers and new natives
Replace the only hasher called MD5 with the ones listed below.

(+) CRC32, MD5, SHA1, SHA256, SHA3 224 BIT, SHA3 256 BIT, SHA3 384 BIT,
SHA3 512 BIT, Keccak 224 BIT, Keccak 256 BIT, Keccak 384 BIT and Keccak
512 BIT.

Add the natives listed below.

(+) hash_string(const string[], hashType:type, output[], const
outputSize)
(+) hash_file(const fileName, hashType:type, output[], const outputSize)
(+) is_arkshine_a_doctor() :  Hidden native, but a sign of recompense
for him being very active since 1.8.3 version of AMX Mod X
(+) get_system_endianness() :  Checks if the system is currently Big
Endian or Little Endian.

Add the following Enum.

(+) hashType {}
(+) sysEndianness {}

Deprecate the following natives.

(-) amx_md5()
(-) amx_md5_file()

It has been tested on Windows and Linux. The sanity checks seems to be
properly working, so no worries about them.

These are useful if people are using Sockets, cURLs or MySQLs in order
to compare hashes of different files On-line for further investigation.
You are not able to check if the files are older or newer, but you can
see if the content is different (Hash Checksum mismatch).

I'm glad I did this. Thanks to
2015-02-16 14:39:45 +02:00
..
amtl C++11: Sync AMTL libraries from upstream 2014-12-06 14:00:15 +01:00
hashing Add new hashers and new natives 2015-02-16 14:39:45 +02:00
licenses Update date for license and GPLv2 exception. 2014-08-04 13:18:42 -05:00
memtools Fix OSX compilation 2015-02-06 22:08:32 +01:00
sdk Update AMBuildScript and renamed the generic moduleconfig.h file to avoid conflict. 2014-08-09 18:27:55 +02:00
amxmodx_version.h Update versioning 2014-12-08 01:39:10 +01:00
auto-string.h Cvars: Extend "amxx cvars" command output 2015-01-27 15:07:17 +01:00
ITextParsers.h Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00
sh_list.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sh_stack.h Update fakemeta module project files and use AMTL. 2014-08-09 20:50:45 +02:00
sh_string.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sm_memtable.h Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00
sm_namehashset.h Cvars: Rearrange a bit some code 2015-01-23 19:05:32 +01:00
sm_queue.h Update nvault module project files and use AMTL. 2014-08-10 18:29:19 +02:00
sm_stringhashmap.h C++11: Update StringHashMap 2014-12-06 14:01:17 +01:00
sm_symtable.h Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00