Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Hashes my new second interest but what are best one way functions

    General Discussion
    3
    5
    206
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petermeisenstein F last edited by

      Hey you probably know me as the Python dude but in the last time I enjoyed hash functions very much. Do you have any experience with implementing one. And what else besides of modulo you can use as a one way function?

      1 Reply Last reply Reply Quote 0
      • vinicity
        vinicity F last edited by

        I usually use the built in one:

        https://fuzearena.com/help/view/stringHash

        It seems to yield good results.

        P 1 Reply Last reply Reply Quote 0
        • P
          petermeisenstein F @vinicity last edited by

          @vinicity But I mean is this used for the encryption of things safely?
          I am talking about hashes like MD5 or SHA256. Modulo is for example one way function or you can also use Bitoperations like XOR OR AND ...

          1 Reply Last reply Reply Quote 0
          • PB____
            PB____ last edited by PB____

            I don't think the stringHash algorithm in Fuze is one way, for example: stringHash("a") == stringHash("b") - 1, so even when you don't know the algorithm you can approximate the original value by it's predictable outcomes.

            However, I wouldn't really consider MD5 a safe encryption algorithm anymore either. Even 10 years ago, you could just enter an MD5 hash on public websites that would provide you with the original value in a matter of seconds...

            P 1 Reply Last reply Reply Quote 0
            • P
              petermeisenstein F @PB____ last edited by

              @PB____ Yeah MD5 is not safe today but SHA256 for example.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post