Modules/hashing: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (We have has())
 
(6 intermediate revisions by 4 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) |
   version        = 1.1 |
   version        = 1.1 |
   author        = [[User:50p|50p]] |
   author        = [http://forum.mtasa.com/memberlist.php?mode=viewprofile&u=19953 50p] |
   module_website = ''Not available'' |
   module_website = ''Not available'' |
   download_link  = [http://y50p.50g.com/archives/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 13: Line 17:
==Installation==
==Installation==
===Windows===
===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 [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en Here].
Uncompress the file hashing.dll into your ''C:\Program Files\MTA San Andreas\server\mods\deathmatch\modules\'' directory.
Uncompress the file hashing.dll into your ''C:\Program Files\MTA San Andreas\server\mods\deathmatch\modules\'' directory.


Line 25: 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