Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Creating Short(er) License Strings

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Feature Requests
View previous topic :: View next topic  
Author Message
Erik.Kerber



Joined: 22 Dec 2009
Posts: 1
Location: Minnesota

PostPosted: Tue Dec 22, 2009 10:08 pm    Post subject: Creating Short(er) License Strings Reply with quote

Greetings,

We are using ILS to create encrypted codes that will be used for enabling various features in our software. Our demographics and business model require us to be able to relay these encrypted codes over the phone, so the length and consistency of the code is an important factor. In it's current implementation, the shortest encrypted code that ILS produces is 32 characters... more than our product management team will allow.

Our goal is to have 10-20 a character code with minimal amounts of product data (~ 6 bytes). We were able to modify the source code to allow it to be passed a byte array over a string, and get the code length down to 13/16 for base32/hex. This, however, would skip over the encryption of product data and the password.

Is this the best/only method to create a shorter encrypted string? Or can somebody recommend another approach that does not involve removing the encryption of the product password?

Any help is much appreciated.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Dec 23, 2009 9:10 pm    Post subject: Reply with quote

The shortest key you can generate with ILS is 26 characters (not counting hyphens which aren't required).

This is using a Key Strength of 7 and Base32 encoding. You can include up to 5 bytes of ProductInfo before the key length will increase.

There is no easy way to reduce the length of the key without significantly impacting security and opening the door to cracked key generators. I would probably go back to your product management team and ask whether they would prefer a less secure product with shorter keys. Note that most Microsoft products have 25 character keys - so this length is obviously not a major issue for most customers.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group