Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 217637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:40:33+00:00 2026-05-11T18:40:33+00:00

Situation: I want to provide a website service where users can enter some data

  • 0

Situation:

I want to provide a website service where users can enter some data e.g. 15 bytes long name “namedata” and get a key code.
That code can then be used to unlock some feature in a game (provided by me), also utilizing the namedata (think of a custom Lazgun named “Lazgun of Peter”, where “Peter” is the namedata).

My plan is to encrypt the namedata along with some short signature (e.g. 5 Bytes “hello”) with asymmetric encrytion (using the private key) into the key code (something like AsdF-STaCK-0VEr-FL0W-13Abbx).

The user then enters the key code in the game and the game then decodes the data with a public key into the namedata and the signature and voila the user gets its “Lazgun of Peter”.

Problem:

The problem (or my misunderstanding?) is that the typical RSA encryption can only be used to encrypt data of the length of the key, e.g. 1024 bit, which would be too long for my key code – no user wants to enter codes with 150+ characters (assuming about 6 bit data per entered character).

Question:

What kind of encryption should I use to get decent security, so that only my website service can generate “correct” codes, but the user only has to enter codes about the size of the namedata + signature + some small overhead?

Note: The game executable is obviously publically available and any encryption key stored in it could be read from it, but the executable itself cannot be altered (copy protection).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:40:34+00:00Added an answer on May 11, 2026 at 6:40 pm

    I think it is the wrong idea to store all item data inside the actual key code.

    It makes more sense to create a unique download code. When entered, the client will connect to a server, and download the actual item data through a secure connection.

    Does this make any sense?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: I want to track some Data with Google Analytics on the server-side. Problem:
So the situation is: I want to optimize my code some for doing counting
I have a situation where I want to create a signature of a data
In my iphone app, I want to provide some sort of app termination handler
There is a situation where I want to invoke a method after some predetermined
Here is the situation. I need to hit ~50 servers and grab some data
I have a sort of unique situation....I want to populate a ModelChoiceField based of
I have a situation where I want to copy the output assembly from one
I've got a situation where I want to have a master list at the
I have a situation where I want certain code to be executed no matter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.