HISE Logo Forum
    • Categories
    • Register
    • Login

    Encrypt, Decrypt ,Outside Hise?

    Scheduled Pinned Locked Moved Scripting
    10 Posts 5 Posters 463 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.
    • S
      sakorada
      last edited by

      How can we Encrypt and Decrypt Hise EncryptedObject with Node.js or PHP?
      Can it be done ?
      Thank you for your help.

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

        @sakorada said in Encrypt, Decrypt ,Outside Hise?:

        How can we Encrypt and Decrypt Hise EncryptedObject with Node.js or PHP?
        Can it be done ?
        Thank you for your help.

        --- every single one of my customers and potential customers would want this (decrypt) to NEVER EVER EVER EVER be possible...

        its one of the major reasons to move away form Kontakt to HISE...

        so please please please Christoph....never do this.

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 0
        • S
          sakorada
          last edited by

          Oh , I never thought about that ,
          Should it be a problem because we still use encrypted Key?

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            so please please please Christoph....never do this.

            Well, if you're security concepts relies on someone not implementing a feature, it's needs some work :)

            I see a potential use case for creating encrypted files on your server that can be read by HISE (and the other way around). You will still need the key that's embedded in the plugin in order to decrypt / encrypt anything so the security is not compromised in any way: if a cracker has already managed to extract the Blowfish key from your plugin, writing a tool that uses that key to decrypt a file is the least effort.

            The encryption method used for the EncryptedObject stuff in the engine is Blowfish as it's super fast and reasonably secure. It's being compressed as base64 string before the decoding process, so:

            JSON -> Base64 -> Blowfish

            You can try to find a library in NodeJs that does these things and is compatible to the JUCE implementation of these algorithms or you can compile a JUCE binary that sits on your server and is executed. Both options might be annoying to implement, so depending on what you want to do, you could use the server API in HISE to do the encryption on the client side.

            LindonL S 2 Replies Last reply Reply Quote 1
            • LindonL
              Lindon @Christoph Hart
              last edited by Lindon

              @Christoph-Hart said in Encrypt, Decrypt ,Outside Hise?:

              so please please please Christoph....never do this.

              Well, if you're security concepts relies on someone not implementing a feature, it's needs some work :)

              Well its your security concept not mine - or am I wildly not understanding whats being asked for here...
              reading back thru the post I think I might be....

              HISE Development for hire.
              www.channelrobot.com

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                I didn't know we had encryption! I was wondering how I could securely store user login details to my site with my HISE plugin, I guess this would be the way to do it?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 1
                • orangeO
                  orange
                  last edited by

                  Yeah I didn't know that encryption is possible with Hise too. But it's good to know that...

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    It's part of the File System API, I would add a link if somebody wouldn't have broken the docs :)

                    d.healeyD 1 Reply Last reply Reply Quote 4
                    • d.healeyD
                      d.healey @Christoph Hart
                      last edited by

                      @Christoph-Hart Where's Dominik?

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 1
                      • S
                        sakorada @Christoph Hart
                        last edited by

                        @Christoph-Hart said in Encrypt, Decrypt ,Outside Hise?:

                        JSON -> Base64 -> Blowfish
                        You can try to find a library in NodeJs that does these things and is compatible to the JUCE implementation of these algorithms or you can compile a JUCE binary that sits on your server and is executed. Both options might be annoying to implement, so depending on what you want to do, you could use the server API in HISE to do the encryption on the client side.

                        Thank you , I will check it out .

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

                        22

                        Online

                        1.7k

                        Users

                        11.9k

                        Topics

                        103.7k

                        Posts