Does anyone know where I can find a DLL/SO that returns a sha1 string?
I think that using the forums for game accounts is going to be easier on my users than using a website for game accounts and the forums separate.
However, our SMF forums uses sha1 and I'm unable to find a dll for it.
In response to A.T.H.K
|
|
A.T.H.K wrote:
http://www.mjtnet.com/plugins.htm It looks like it's made for another scripting language. O-o. It says the second param for the function is the return_buffer. I have no idea what this means. Is there also a linux version? Your hosting service is ran on linux, isn't it? I need something that's compatible with both windows and linux. It should also work with Byond. If I am missing something, may I please have an example? Here is my attempt at it as well-- Although, this causes the game to crash. I'm going to assume it has to do with the second argument not being given a value? proc/SHA1(hash as text) |
I'm hoping something like this will work
proc/SHA1(hash as text) |
In response to A.T.H.K
|
|
A.T.H.K wrote:
I'm hoping something like this will work > proc/SHA1(hash as text) DM's call function only takes two arguments at max. :< |
In response to A.T.H.K
|
|
A.T.H.K wrote:
Seems I've wasted your time then... sorry about that! No, it's quite okay. At least you tried, thank you! :3 |
If you're using Linux, you could do something like this
mob/verb It's just an example.. may not work :) |
In response to A.T.H.K
|
|
A.T.H.K wrote:
If you're using Linux, you could do something like this > mob/verb It's just an example.. may not work :) Thanks for the extra tip, I'll take a look into it tonight. This could potentially serve as a temp solution until I get out the books and dive into creating my own SO/DLL in C++. Although I could have sworn I read somewhere or was told that I'd need to use C for it to work-- I'll make another post and confirm if I can get this working. Sadly I didn't know linux was capable of hashing from the shell. Thanks again, :). Anyone else is free to throw suggestions at me. I know Murrawhip created one for SHA256 and that worked flawlessly. I was going to try and recompile a new version based off his found on Github but I always have a hard time getting the linker setup. Visual Studio makes me cry sometimes. T_T |
I apologize for the late reply on this but the crypto++ library was compiled in VS6 and I don't know how to upgrade it without errors but if you have a copy of VS6, you can create what you need. I will release a DLL that has all the hashing algs of the crypto++ library so you can just use
SHA256(string) etc. |
http://www.autoitscript.com/forum/topic/67245-sha1-dll-call/