amxmodx/amxmodx
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
..
JIT Rebuilt amxjitsn object with older version of nasm to fix JIT crash on OS X (r=dvander). 2013-09-03 17:53:42 -05:00
mmgr New dir reading natives, new memory outputs 2005-07-13 23:31:02 +00:00
msvc12 Add new hashers and new natives 2015-02-16 14:39:45 +02:00
zlib Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
AMBuilder Add new hashers and new natives 2015-02-16 14:39:45 +02:00
amx.cpp Replace more snprintf by UTIL_Format. 2014-08-08 12:47:15 +02:00
amx.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxcore.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxdbg.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxdbg.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxdefn.asm Whoa! Merged in Pawn! (Small 3.0) 2005-07-25 06:03:43 +00:00
amxexecn.asm Align stack on 16-byte boundary for native calls in the assembly interpreter (bug 5601, r=dvander). 2013-02-24 01:03:53 -06:00
amxjitsn.asm Rebuilt amxjitsn object with older version of nasm to fix JIT crash on OS X (r=dvander). 2013-09-03 17:53:42 -05:00
amxmodx.cpp Add new hashers and new natives 2015-02-16 14:39:45 +02:00
amxmodx.h Add new hashers and new natives 2015-02-16 14:39:45 +02:00
amxtime.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxx_mm.def new file names 2004-03-24 01:35:44 +00:00
amxxfile.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxxfile.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
amxxlog.cpp Replace old SVN_* defines by the new ones 2014-12-08 01:42:42 +01:00
amxxlog.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
binlog.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
binlog.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CCmd.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CCmd.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CDataPack.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CDataPack.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CEvent.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CEvent.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CFile.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CFile.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CFlagManager.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CFlagManager.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CForward.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CForward.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CLang.cpp Add new hashers and new natives 2015-02-16 14:39:45 +02:00
CLang.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CList.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CLogEvent.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CLogEvent.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CMenu.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CMenu.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CMisc.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CMisc.h Cvars: Move CCVar class to cvars.h 2015-01-23 19:05:31 +01:00
CModule.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CModule.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CPlugin.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CPlugin.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CQueue.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CString.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CTask.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CTask.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CTextParsers.cpp Replace snprintf by UTIL_Format. 2014-08-07 00:51:01 +02:00
CTextParsers.h Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00
CvarManager.cpp Fix crash by freeing memory the right way 2015-02-12 14:37:46 +01:00
CvarManager.h Cvars: Adjust more things 2015-01-28 23:51:43 +01:00
cvars.cpp Cvars: De-frenchify by Nextra 2015-01-29 21:44:53 +01:00
CVault.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CVault.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
CVector.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
datapacks.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
datastructs.cpp Fix missing backward compatibility for some Array natives. 2014-08-09 15:22:18 +02:00
datastructs.h Fix a compatibility issue with the "reserved" parameter. 2014-08-07 20:40:07 +02:00
debugger.cpp Don't show blank line in abort() with AMX_ERR_NONE (bug 6233). 2014-08-17 23:33:00 +02:00
debugger.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
emsg.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
fakemeta.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
fakemeta.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
file.cpp Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +02:00
float.cpp merged bcompat changed into trunk 2006-09-01 03:29:27 +00:00
format.cpp Use server language as fallback if client's "lang" key is not defined. 2014-08-07 14:20:29 +02:00
format.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
helpers-x86.asm Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
libraries.cpp Replace more snprintf by UTIL_Format. 2014-08-08 12:47:15 +02:00
libraries.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
Makefile Add new hashers and new natives 2015-02-16 14:39:45 +02:00
messages.cpp Add MSG_INIT support in messsage_begin native (bug 6254) 2014-10-24 21:04:42 +02:00
messages.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
meta_api.cpp Cvars: Moving cvars stuffs in its own files 2015-01-23 19:05:34 +01:00
modules.cpp Cvars: Moving cvars stuffs in its own files 2015-01-23 19:05:34 +01:00
modules.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
natives-amd64.asm Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
natives-x86.asm Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
natives.cpp Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +02:00
natives.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
newmenus.cpp Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +02:00
newmenus.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
nongpl_matches.cpp Cvars: Moving cvars stuffs in its own files 2015-01-23 19:05:34 +01:00
nongpl_matches.h Cvars: Moving cvars stuffs in its own files 2015-01-23 19:05:34 +01:00
optimizer.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
optimizer.h Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
osdefs.h Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
power.cpp quick fixes before adding debugger again 2005-07-25 06:48:54 +00:00
sclinux.h Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
sh_list.h Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
sh_stack.h Added optimizations to the task system 2005-10-25 20:38:00 +00:00
sh_tinyhash.h Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
sorting.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
srvcmd.cpp Fix missing new lines in "amxx version" command 2015-02-12 10:46:20 +01:00
stackstructs.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
string.cpp Cvars: Add bind_pcvar_num/float/string 2015-01-24 21:31:00 +01:00
strptime.cpp Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
textparse.cpp Fix wrong log error message. 2014-08-07 00:53:15 +02:00
textparse.h Fix few issues. 2014-08-06 09:17:53 +02:00
trie_natives.cpp Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00
trie_natives.h C++11: Fix some code 2014-12-06 14:02:55 +01:00
util.cpp Allow show_menu native to send empty text and add reset_menu stock (bug 6244) 2014-10-24 20:36:38 +02:00
vault.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
vector.cpp Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
version.rc Update copyright year 2014-07-27 11:22:40 +03:00