MD5 hash generator needed

SA_FNAFCoderSA_FNAFCoder Member, PRO Posts: 47
edited September 2016 in Working with GS (Mac)

Hi so I want to make an MD5 hash generator in GameSalad, or at least request a url with the Network behaviors and send the hash back. Because I am trying to do GameJolt API which I can do but I need an MD5 hash so I can sign the request to GameJolt.
Thanks!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Please use descriptive thread titles. "I need help!" pretty much described EVERYONE here. I've changed it to "MD5 hash generator needed."

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SA_FNAFCoderSA_FNAFCoder Member, PRO Posts: 47

    @tatiang said:
    Please use descriptive thread titles. "I need help!" pretty much described EVERYONE here. I've changed it to "MD5 hash generator needed."

    Yes but can you help me with my problem? Thanks :smile:

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I don't know anything about it, sorry! I'm a forums moderator so I tend to notice thread titles that are generic.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SA_FNAFCoderSA_FNAFCoder Member, PRO Posts: 47

    @tatiang said:
    I don't know anything about it, sorry! I'm a forums moderator so I tend to notice thread titles that are generic.

    Ok that's alright :smile:

  • KevinCrossKevinCross London, UKMember Posts: 1,894

    Have you googled for the algorithms for MD5? There's a page on Wikipedia which gives an example program, and there's a number of other algorithms about written in different languages. I've looked at a few of them and some of it could probably be transferred to GameSalad but not sure all of it can. I won't lie, most of it confused me.

  • zweg25zweg25 Member Posts: 738

    If you have a server you can request to your server by sending what you need to be hashed and then hashing the username in php

  • SA_FNAFCoderSA_FNAFCoder Member, PRO Posts: 47

    @zweg25 said:
    If you have a server you can request to your server by sending what you need to be hashed and then hashing the username in php

    How do I do that? Can you show me with screenshots?

  • zweg25zweg25 Member Posts: 738

    In php there is an md5 function. You input a string and it outputs the md5 generated hash. If you send your string to your server and have it echo md5($yourString); it will output what you want. You should look at how to communicate with servers in Gamesalad if you do not already know.

  • SA_FNAFCoderSA_FNAFCoder Member, PRO Posts: 47

    @zweg25 said:
    In php there is an md5 function. You input a string and it outputs the md5 generated hash. If you send your string to your server and have it echo md5($yourString); it will output what you want. You should look at how to communicate with servers in Gamesalad if you do not already know.

    Thanks!
    This info is valuable for my next game as well so thanks! :D

Sign In or Register to comment.