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 47981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:12:28+00:00 2026-05-10T16:12:28+00:00

My company is looking to start distributing some software we developed and would like

  • 0

My company is looking to start distributing some software we developed and would like to be able to let people try the software out before buying. We’d also like to make sure it can’t be copied and distributed to our customers’ customers.

One model we’ve seen is tying a license to a MAC address so the software will only work on one machine.

What I’m wondering is, what’s a good way to generate a license key with different information embedded in it such as license expiration date, MAC address, and different software restrictions?

  • 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. 2026-05-10T16:12:29+00:00Added an answer on May 10, 2026 at 4:12 pm

    I’d suggest you take the pieces of information you want in the key, and hash it with md5, and then just take the first X characters (where X is a key length you think is manageable).

    Cryptographically, it’s far from perfect, but this is the sort of area where you want to put in the minimum amount of effort which will stop a casual attacker – anything more quickly becomes a black hole.

    Oh, I should also point out, you will want to provide the expiration date (and any other information you might want to read out yourself) in plain text (or slightly obfuscated) as part of the key as well if you go down this path – The md5 is just to stop the end user from changing he expiration date to extend the license.

    The easiest thing would be a key file like this…

    # License key for XYZZY expiry-date=2009-01-01 other-info=blah key=[md5 has of MAC address, expiry date, other-info] 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am part of a software development company looking for a good way to
i would like to implement some kind of service my customers can use to
My company is looking to develop an iOS application which would need to make
In my company management is looking for screen-pumping-machine/production-line-factory for data centric (form entry) windows
The company I work for is looking for a reporting solution with the following
The company I work for is looking to implement a caching solution. We have
I'm looking an option to buy a verisign ssl certificate for my company. previously
Our inhouse Windows 2003 Server hosts our company's SVN repository. I'm looking for a
I've just started at a new communications company, and we're looking at a workflow
My company is beginning to write some code using Scala. I've been moved onto

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.