BlowFish String Encryption

I am a little bit confused, I figured that using:

String::toHexString (textToEncrypt.getHexValue64());

would return a hex string. I realize that getHexValue64() returns an int64, but I thought that once that it is passed into the static method String::toHexString(), then a hex string would return. Though I probably misunderstood what the IntegerType Number parameter of the toHexString() method meant.

Also, thanks for the tip, I’ll look into the MemoryOutputStream class.

Yeah, my general issue with JUCE is that, most of the time, I don’t know that certain items even exist within the library, so I can’t use them because I don’t even know of them (because it is so massive). Or, if I know what I need to do, finding the correct class might be a bit of a challenge at times if the categories and labels in my head aren’t the same as the wording of the actual class. These are not issues with JUCE, but mostly my lack of familiarity with it.

1 Like