18 votes

Game Giveaway: The Price is Right Edition

Welcome to a special giveaway!

Instead of a specific game or a lottery system you will need to guess the pre-determined amount ($X) I've allocated for the giveaway. You can submit a guess by listing any number of games and their prices (include a total in USD) in a top-level comment in this post by the time this post is 48 hours old. The total cost of all games can not exceed $X! The commenter who comes the closest without going over $X will win each game in their list. If there is a tie the first commenter will win.

Good luck!

For verification purposes, here is the salted hash of $X: 6879e144663fc05aacacbd7daf8614aa

Extra info:

  1. Exclude taxes
  2. If your local currency is not USD please convert the total to USD after getting the total for your local currency
  3. Please include sale price discounts

Example (from @psi):

Game Platform Cost
Shadows Over Loathing Steam $22.99
Vampire Survivors Steam $4.99
Monster Hunter Stories 2: Wings of Ruin eShop $19.79
Total $47.77

@hkc COME ON UP!!!

Salted $X string: The correct price is: $53.25

23 comments

  1. [5]
    hkc
    Link
    Game Platform Cost Red Dead Redemption 2 Steam $39.29 Satisfactory Steam $9.20 Total $48.49
    • Exemplary
    Game Platform Cost
    Red Dead Redemption 2 Steam $39.29
    Satisfactory Steam $9.20
    Total $48.49
    9 votes
    1. [2]
      teaearlgraycold
      Link Parent
      WINNER WINNER CHICKEN DINNER

      WINNER WINNER CHICKEN DINNER

      11 votes
      1. hkc
        Link Parent
        I'm thrilled. Thank you for organising this giveaway!

        I'm thrilled. Thank you for organising this giveaway!

        5 votes
  2. [2]
    kfwyre
    (edited )
    Link
    Game Platform Cost Eleven Table Tennis Steam / Humble $19.99 I almost didn't enter because I already have too many games and don't need a giveaway, but I also understand that this event is way...
    Game Platform Cost
    Eleven Table Tennis Steam / Humble $19.99

    I almost didn't enter because I already have too many games and don't need a giveaway, but I also understand that this event is way more fun if more people join! Plus, I just got a roomscale VR setup, I grew up playing and loving ping pong, and @blender_cuttingham recommended this to me and it looks like something I'd love and sink a lot of time into.

    By the way, this is the coolest and most interesting post idea I've seen in a long time. I'm hoping a lot more people join in.

    5 votes
    1. teaearlgraycold
      Link Parent
      Thanks! :D

      this is the coolest and most interesting post idea I've seen in a long time

      Thanks! :D

      3 votes
  3. [5]
    kfwyre
    Link
    Now that it’s over (congrats @hkc!), can someone explain how the hash and salt works? I wanted to ask beforehand but didn’t want to make it look like I was trying to crack the answer. Now that the...

    Now that it’s over (congrats @hkc!), can someone explain how the hash and salt works? I wanted to ask beforehand but didn’t want to make it look like I was trying to crack the answer.

    Now that the string has been released, how could I verify it for myself? Not that I don’t trust @teaearlgraycold, I’m just curious about the process.

    5 votes
    1. [4]
      teaearlgraycold
      (edited )
      Link Parent
      A hash function is a "one way function". You put a string in, get a different string out, but there does not exist an inverse function. That's because hash functions can take in an unlimited...
      • Exemplary

      A hash function is a "one way function". You put a string in, get a different string out, but there does not exist an inverse function. That's because hash functions can take in an unlimited amount of data, but always output only a few bytes. So for a given output (ex: 6879e144663fc05aacacbd7daf8614aa) you'll have multiple possible inputs that can produce it.

      If a website wants to verify someone knows their password they'll store an initial hash of the password during account registration. Then when the user returns and types in their password to sign in the site will hash the password and compare the hashes. You can verify the input is the same as during registration if the hashes match. The benefit here is the website isn't storing the password. So if the database gets leaked hackers won't know what the passwords are.

      In order to allow for verification that the amount in this giveaway was pre-determined I hashed the dollar amount. But even though hashes are one-way functions you can reverse them when you know there's only a small number of possible inputs. So if I hashed something in the format of $53.25, and an adversary knew that's what I did, they could get hashes for every dollar amount up to thousands of dollars and compare against the hash I listed. The solution is to add a salt to the input - The correct price is: . As long as the adversary doesn't know the salt (to be fair it's not a very secure salt because it's semantically related to the post) then you can safely have the rest of the input be very predictable. What's cool is the salt can be as long as you want. I could have stuck an entire book at the beginning of the input. All that matters is when I come back with the full original input + salt it hashes to the value I originally posted.

      Edit: Thanks for the Exemplary, kind stranger!

      7 votes
      1. [2]
        Bauke
        Link Parent
        Which hash function did you use? I've tried a couple and haven't found a match so far.

        Which hash function did you use? I've tried a couple and haven't found a match so far.

        4 votes
        1. teaearlgraycold
          Link Parent
          MD5. Sorry, should have included that originally.

          MD5. Sorry, should have included that originally.

          4 votes
      2. kfwyre
        Link Parent
        Fantastic explanation. Thank you for that. Also, for those curious, it does check out.

        Fantastic explanation. Thank you for that.

        Also, for those curious, it does check out.

        4 votes
  4. Thrabalen
    Link
    $24.99 -- Imagine Earth

    $24.99 -- Imagine Earth

    3 votes
  5. [3]
    psi
    Link
    $399.00 -- exactly the price of a steam deck :p Please don't actually give away something worth this much. @teaearlgraycold, maybe you can extend this contest by a day or two and also give an...

    $399.00 -- exactly the price of a steam deck :p Please don't actually give away something worth this much.


    @teaearlgraycold, maybe you can extend this contest by a day or two and also give an example? It might be worth clarifying whether one should include the discounted price and which platforms are possible. I assume a valid entry would be something like the following?

    Game Platform Cost
    Shadows Over Loathing Steam $22.99
    Vampire Survivors Steam $4.99
    Monster Hunter Stories 2: Wings of Ruin eShop $19.79
    Total $47.77
    3 votes
    1. [2]
      teaearlgraycold
      Link Parent
      Good idea. I stole your table and extended to 48 hours. Although now my verification hash is under an edited topic. You'll all just have to trust me.

      Good idea. I stole your table and extended to 48 hours. Although now my verification hash is under an edited topic. You'll all just have to trust me.

      5 votes
      1. balooga
        Link Parent
        I archived the page before you edited it, for verification purposes!

        I archived the page before you edited it, for verification purposes!

        5 votes
  6. MimicSquid
    Link
    $74.98 Game Platform Cost FINAL FANTASY VII REMAKE INTERGRADE Steam $69.99 Little Inferno: Ho Ho Holiday Steam $4.99 Total $74.98

    $74.98

    Game Platform Cost
    FINAL FANTASY VII REMAKE INTERGRADE Steam $69.99
    Little Inferno: Ho Ho Holiday Steam $4.99
    Total $74.98
    2 votes
  7. Fal
    (edited )
    Link
    Game Platform Cost Timberborn Steam $24.99 Townscaper Steam $5.99 Total $30.98
    Game Platform Cost
    Timberborn Steam $24.99
    Townscaper Steam $5.99
    Total $30.98
    1 vote
  8. Eidolon
    Link
    Sad to have missed this!

    Sad to have missed this!

    1 vote