Modules/hashing: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added note regarding the fact it only works on a machine with the VS2008 runtime libraries.)
m (We have has())
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Outdated|MTA now supports generic hashing using the [[hash]] function}}
{{Module_Info|
{{Module_Info|
   name          = Hashing string (alder32, md5) |
   name          = Hashing string (alder32, md5) |
Line 5: Line 6:
   module_website = ''Not available'' |
   module_website = ''Not available'' |
   download_link  = [http://y50p.50g.com/archives/mta/hashing.rar Here] |
   download_link  = [http://y50p.50g.com/archives/mta/hashing.rar Here] |
   license        = [http://www.opensource.org/licenses/bsd-license.php BSD]
   license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |
  written_in    = C++ |
  operating_system = Windows only |
  compatible_with = Unknown |
}}
}}
This is hashing string module. It uses 2 algorithms of hashing. One is alder32 (which is not actually the real alder32 algorithm, I do not recommend using it) and one is MD5. Using MD5 you get 32-characters long hexadecimal number.
This is hashing string module. It uses 2 algorithms of hashing. One is alder32 (which is not actually the real alder32 algorithm, I do not recommend using it) and one is MD5. Using MD5 you get 32-characters long hexadecimal number.
Line 16: Line 20:
'''* Important *'''
'''* Important *'''


This module was compiled in Visual Studio 2008, as such it requires Visual Studio 2008 or the Visual Studio 2008 runtime libraries which are considerably smaller. You can get this ~1.8MB Installation package [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en Here].
This module was compiled in Visual C++ 2008, as such it requires Visual C++ 2008 or the Visual C++ 2008 runtime libraries which are considerably smaller. You can get this ~1.8MB Installation package [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en Here].




Line 32: Line 36:


[[Category:Modules]]
[[Category:Modules]]
[[ru:Modules/hashing]]

Latest revision as of 01:13, 22 November 2014

Dialog-information.png This article is (partially) outdated and the information may no longer apply.

Reason: MTA now supports generic hashing using the hash function
Module info
Name Hashing string (alder32, md5)
Version 1.1
Author 50p
Module website Not available
Download link Here
License BSD
Written in C++
Operating system Windows only
Compatible with Unknown

This is hashing string module. It uses 2 algorithms of hashing. One is alder32 (which is not actually the real alder32 algorithm, I do not recommend using it) and one is MD5. Using MD5 you get 32-characters long hexadecimal number.

CURRENTLY IT'S ONLY FOR WINDOWS SERVERS.

Installation

Windows

* Important *

This module was compiled in Visual C++ 2008, as such it requires Visual C++ 2008 or the Visual C++ 2008 runtime libraries which are considerably smaller. You can get this ~1.8MB Installation package Here.


Uncompress the file hashing.dll into your C:\Program Files\MTA San Andreas\server\mods\deathmatch\modules\ directory.

Then, add the following line in mtaserver.conf:

  <module file="hashing.dll" />


Functions