Thread: [Plugin] Whirlpool plugin
View Single Post
Old 14/04/2015, 09:54 PM   #3
Evocator
Huge Clucker
 
Join Date: Nov 2013
Posts: 478
Reputation: 150
Default Re: Whirlpool plugin

Thats way way poor and lacks of explanation. If you are willing to re-distribute the work i suggest you copy and past the original topic, also linking to your own website is somehow selfish.

Anw,

Original example (might be helpful):

Quote:
Code:
#include <a_samp>

native WP_Hash(buffer[], len, const str[]);

main()
{
	new
		buf[129];
	printf("hash");
	WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog");
	print(buf);
}
This will output:

Code:
B97DE512E91E3828B40D2B0FDCE9CEB3C4A71F9BEA8D88E75C4FA854DF36725FD2B52EB6544EDCACD6F8BEDDFEA403CB55AE31F03AD62A5EF54E42EE82C3FB35

Other notes he mentioned:

Quote:
If you use YSI that uses a custom key-based hash algorithm, while there are currently no known cracks for it I do not know exactly how secure it is, however the key system vastly improves it's security from server to server. You may want to consider upgrading to Whirlpool however YSI is the only user system which actually bothered with anything resembling security, so it's not required.

As with all my plugins if you place the folder in your SA:MP directory then compiling the plugin will automatically place the new dll or so in your plugins directory.

Last edited by Evocator; 15/04/2015 at 03:32 PM. Reason: added an example.
Evocator is offline   Reply With Quote