K
K
keymus2019-07-06 11:57:56
Java
keymus, 2019-07-06 11:57:56

Create a licensing system?

The task is this: we need to make a license generator, into which we enter some information with permissions for our software, which is encrypted into a key. Next, the key is transferred to a remote piece of hardware on which our software runs, the software recognizes this key and becomes operational. I read about asymmetric encryption with a public key, but I found very few implementation examples in java, basically they were all tied to the RSA algorithm. A colleague suggested that the RSA algorithm would not work for this case, because. With the private key, you can both encrypt and decrypt the message.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-07-06
@keymus

The answer is that your colleague knows nothing about rsa. You can totally use it. Because you have a license check a one-time operation, use longer keys.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question