in reply to Re^5: Decrypting BlowfishNET (try2)
in thread line by line Encryption fun with Crypt::CBC and Rijndael? File Ownership issues?
It doesn't you do it in the Encrypt function you presented.
The encrypt subroutine I pasted above was from from the BlowfishSimple class. It comes as part of the BlowfishNET download. I was comparing the libraries to see how the two encrypt and decrypt and I believe they pad differently. That is the reason I pasted the subroutine here. I thought I had mentioned it.
As far using the BlowfishSimple library/class, it pretty much boils down to making the following calls:
bfs = new BlowfishSimple(key); enc = bfs.Encrypt(plaintext);
So, as you can see that is why I keep querying about how the padding is done in BlowfishSimple, because that is what I thought is different, but then, I am not sure.
Thank you for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Decrypting BlowfishNET (try2)
by ikegami (Patriarch) on Aug 12, 2008 at 13:33 UTC | |
by Anonymous Monk on Aug 20, 2009 at 17:32 UTC |