bump bump

ten7kur
@ten7kur
Posts made by ten7kur
-
RE: Encryption; Blowfish's PrivateKey?--where can i find it?
Ok.
Well hopefully @Christoph-Hart can give some input on this. -
RE: Encryption; Blowfish's PrivateKey?--where can i find it?
@d-healey said in Encryption; Blowfish's PrivateKey?--where can i find it?:
Looks like it's part of JUCE - https://github.com/christophhart/HISE/blob/8ef678ec2fcae0973cc269163404b1f9df967733/JUCE/modules/juce_cryptography/encryption/juce_BlowFish.cpp
Looking at the files i think juce_RSAKey.h is what im looking for?
Line95: class JUCE_API RSAKey
I tried calling RSAKey(privateKey); but it says its not a function. How would i go about getting the PrivateKey in particular? i can already specify the PublicKey.
I havent found where in the code the keys are stored.I'm guessing i need to be inside
namespace juce { }
? -
RE: Nothing happens when building latest Scriptnode
@alepan said in Nothing happens when building latest Scriptnode:
Update: I tried opening Projucer from the Tools->Projucer directory, and it says "Projucer is damaged and cannot be opened"... I re-downloaded the latest scriptnode and I still get this error...
I had the same problem.
I replaced the .Jucer app with one from the previous release. -
Encryption; Blowfish's PrivateKey?--where can i find it?
Hello.
@Christoph-Hart
I've looked in my OS Keychain, but it doesnt seem like there is any Key for Hise-Blowfish.-Does it get created only when the Binary is compiled? Can i export it?
-Or is it implemented to only stay inside the plugin/app? If so, could you please tell, how exactly it is being stored? whats the process behind it?
The docs dont seem to have any info about this. Its very important!Im really hoping its not the latter!
Thanks!
-
RE: loadEncryptedObject; cant manage to Un-encrypt file data
@Lindon ? The code you pasted is eaxctly the same as mine.
@Christoph-Hart
I was using it that way because of this--> Getting todays date in HISE post. My understanding was that it was encrypting the data with a password AND the MachineID. Perhaps i misused/misunderstood the example..Never the less, i made the changes but the file doesnt seem to be getting encrypted /edited at all.
Im mis-printing something....
The new Code;const var Encrypt = Content.getComponent("Encrypt"); //Encrypt file on button click inline function onEncryptControl(component, value) { local SystemId = FileSystem.getSystemId(); if(value) { local UserPIN = "1234"; //Browse to the file local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); FileDirectory.getChildFile("file.js"); //Encrypt local FileEncrypt = FileDirectory.writeEncryptedObject(FileDirectory, UserPIN); } }; Content.getComponent("Encrypt").setControlCallback(onEncryptControl); //Decrypt on startup const var Decrypt = Content.getComponent("Decrypt"); inline function decryptOnLoad() { local UserPIN = "1234"; //Get encrypted file/object local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); FileDirectory.getChildFile("file.js"); //Decrypt local FileDecrypt = FileDirectory.loadEncryptedObject(UserPIN); // Load contents of the encrypted object local pData = Engine.loadFromJSON(FileDirectory); }; // Execute on startup decryptOnLoad();