How do I generate activation codes using machine codes and private keys? And verify the public key in the plug-in, what are the rules of this algorithm?
-
How do I generate activation codes using machine codes and private keys? And verify the public key in the plug-in, what are the rules of this algorithm?
I am trying to make a computer that only allows one activation code
-
@BobCat you use
FileSystem.encryptWithRSA( String dataToEncrypt, String privateKey)
and
result = FileSystem.decryptWithRSA( String dataToDecrypt, String publicKey)
Here dataToEncrypt is a string you use for activation - what this string contains and how you check it is up to you.
-
@Lindon I want to build a system on the server side that uses machine code to return activation codes, but the server side cannot use HISE's API and the web page uses JavaScript. How do I implement it?
-
@BobCat said in How do I generate activation codes using machine codes and private keys? And verify the public key in the plug-in, what are the rules of this algorithm?:
@Lindon I want to build a system on the server side that uses machine code to return activation codes, but the server side cannot use HISE's API and the web page uses JavaScript. How do I implement it?
thats up to you;
HISE offers you a Server object that you can use to communicate with your server...what goes on in that "conversation" is entirely up to you.