BlowFish was the brain child of Bruce Schneier back in 93. Since BlowFish was released to the public domain, Bruce Schneier has released new encryption algorythems, TwoFish and ThreeFish. BlowFish is an increddibly popular and very strong algorythem. Because it conforms to Kerckhoffs's Principal Explained Here, even though the algorithem is public domain, it still isn't crackable without the key.
It Isn't Mine, I Just Converted It.
I'm far from a maths genius, far, far from it. My only involvement in this class is converting from VB6 and wrapping. I have tried to comment the parts of the algorithm that I understand, much beyond that I'm afraid you'll probably have a better understanding than I.
I have wrapped the class up nicely so there is little more then Encode, Decode and Key available to the user. I have also included as much error handling as possible.
Share and Share A-Like
There are many, many examples of BlowFish out there, in all kinds of languages, but not VB.Net. With that in mind, I decided to share this conversion so there is at least one VB.Net version out there... And where best to host it, but on DaniWeb. Obviousley in accordance to the aforementiond Kerckhoffs's principal, I'm not jeopardizing the security of this algorythem, however it may be worth playing around with the intialization values to ensure your Boxes are unique.
The code provided is a guide how you can use the Class. Very simple.
Edited 2 Years Ago by J.C. SolvoTerra