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.



  • @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.



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



  • 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.



  • @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....



  • 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?



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



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



  • @Christoph-Hart Where's Dominik?



  • @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 .


Log in to reply
 

18
Online

884
Users

3.2k
Topics

26.8k
Posts