HISE Logo Forum
    • Categories
    • Register
    • Login

    How to use RSA License

    Scheduled Pinned Locked Moved General Questions
    8 Posts 2 Posters 535 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DabDabD
      DabDab
      last edited by

      How to use RSA License ? Is there a minimal snippet ? RSA threads I was looking for doesn't have the example code how to implement it in real project.

      How to use Demo License too ?

      Bollywood Music Producer and Trance Producer.

      LindonL 1 Reply Last reply Reply Quote 1
      • LindonL
        Lindon @DabDab
        last edited by

        @DabDab

        Link Preview Image
        Passwort Protection "Enter E-Mail"

        @treynterrio create a key-pair using HISE... Tools>License Management> Create RSA Key Pair Build an off-line system that takes a set of verifiable strin...

        favicon

        Forum (forum.hise.audio)

        HISE Development for hire.
        www.channelrobot.com

        DabDabD 1 Reply Last reply Reply Quote 0
        • DabDabD
          DabDab @Lindon
          last edited by

          @Lindon I got your thread where you wrote ..
          create a key-pair using HISE... Tools>License Management> Create RSA Key Pair

          Build an off-line system that takes a set of verifiable strings and encrypts each of them with the private key to create the serials:

          FileSystem.encryptWithRSA( String dataToEncrypt, String privateKey)

          get your system to save these serials in a text file so you can send a serial to each customer - so you back end system keeps a record of the user, email and issued serial.

          Add a dialog to your plugin that gets a serial from the user...

          use the HISE command to decrypt the entered serial using the public key

          FileSystem.decryptWithRSA( String dataToDecrypt, String publicKey)

          I didn't understand how to implement

          FileSystem.encryptWithRSA( String dataToEncrypt, String privateKey)
          
          

          &

          FileSystem.decryptWithRSA( String dataToDecrypt, String publicKey)
          

          I will post a snippet what I want to achieve.

          Bollywood Music Producer and Trance Producer.

          1 Reply Last reply Reply Quote 0
          • DabDabD
            DabDab
            last edited by DabDab

            @Lindon

            HiseSnippet 1060.3ocyV0taaaCEkJIJn1acXEXO.F8Wt.YAhRh5CLrMm33LXrlTu5thMTDzQRQESDYRAIpzZLDf9Hu2fMRYqXkF2tBiUfo+c+3Pd3k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QcWxmCNt5szGZOJMkQUqI3d1m9aedd3D7bYkhKt7Lrpfq6GrOuZ9TceEko2cgfkYFfs1wzbsz1wXap.SYhjZi+V+sJHzXasJHrIHXNlVHeMc4.p405GT6QyIQ8Opzw9LicOXyXossygNf45eb30Tp43+s5o+MiwcKv3sEX72BLns.SvVfIbKvD8QwX9msipTx4KGGzNlLpVdzxZj.q6rp6BA+CFK17iC
            

            What's next ?

            Bollywood Music Producer and Trance Producer.

            LindonL 1 Reply Last reply Reply Quote 0
            • DabDabD
              DabDab
              last edited by

              RSA Text Example

              <?xml version="1.0" encoding="UTF-8"?>
              
              <KeyPair>
                <PublicKey value="11,c2a39b6e5b678e3df3da6d5b824d97b64f622125cd01eb5c8d487a58ac339ed084514ce81331950847d36c712366be5e41e4bfb3918254336ed0ca2909cd89b1"/>
                <PrivateKey value="670b52497baf4b4df991c16cae6550517552118c7b979ab8870840c58857904f583a214703a51c7adc4902e624bab20559d5358f85139c6985b10f7666494545,c2a39b6e5b678e3df3da6d5b824d97b64f622125cd01eb5c8d487a58ac339ed084514ce81331950847d36c712366be5e41e4bfb3918254336ed0ca2909cd89b1"/>
              </KeyPair>
              
              

              Bollywood Music Producer and Trance Producer.

              1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @DabDab
                last edited by

                @DabDab well first DONT put the private key in the app... the private key and the encrypt statement go in the app from step 2.

                So you are building two apps -

                • a serial generator ( that has the private key and uses the encrypt statement to generate keys)

                • a plugin - that has the public key and the decrypt statement - so it can check the key that the user enters.

                HISE Development for hire.
                www.channelrobot.com

                DabDabD 1 Reply Last reply Reply Quote 0
                • DabDabD
                  DabDab @Lindon
                  last edited by

                  @Lindon Hmmm.. but How ? is there a minimal snippet ?

                  Bollywood Music Producer and Trance Producer.

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @DabDab
                    last edited by

                    @DabDab said in How to use RSA License:

                    @Lindon Hmmm.. but How ? is there a minimal snippet ?

                    no - you have to build your own apps and plugins.

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    29

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    102.8k

                    Posts