Encrypting License keys

82 views
Skip to first unread message

Rick Weiser

unread,
Apr 9, 2025, 1:50:03 PMApr 9
to Pick and MultiValue Databases
Hi all,

Has anyone tackled encrypting a software license key?  If so, can you share what you did?

I need to create a key with multiple parts and would like to encrypt it without any control chars. The key would need to be entered into an application to license the software.

Thanks for your help,

Rick

Brian Speirs

unread,
Apr 9, 2025, 3:31:31 PMApr 9
to Pick and MultiValue Databases
Hi Rick,
I am not sure why you need to encrypt the key, but I can imagine that your key generation code may produce a key with undesirable characters.
You could use Base64 encoding to ensure that your generated key only uses a sane set of characters. Of course, that will also increase the count of characters that needs to be entered.
Cheers,

Brian

Rick Weiser

unread,
Apr 9, 2025, 3:59:49 PMApr 9
to Pick and MultiValue Databases
Hi Brian, 

You are correct, I shouldn't have used that term. I do want to hide the actual characters in some kind of way. Maybe converting the text to Hex.

Any ideas?

Jim Idle

unread,
Apr 10, 2025, 1:03:30 AMApr 10
to mvd...@googlegroups.com, and MultiValue Databases Pick
Yes

On Apr 9, 2025, at 13:59, Rick Weiser <yld...@gmail.com> wrote:

Hi Brian, 
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/bc963636-fa74-4b79-afcf-78d4f2d6fbe1n%40googlegroups.com.

Rick Weiser

unread,
Apr 12, 2025, 6:13:03 AMApr 12
to Pick and MultiValue Databases
HI All,

I found that OpenSSL will do the job.

Thanks,

Rick

Reply all
Reply to author
Forward
0 new messages