128 bit blowfish algorithm (General questions)
Hi there,
I am interested in your product if it gives me what I am after.
I am trying to use your 128 bit Blowfish Encryption, but I am not getting the desired result.
I had used TurboPower Blowfish encryption in my Windows Application and I got this result.
The key we used is - LQSesirpretnENAMATNEC
The String we had encrypted was 1271. and the result I got was - bnWPAaViYy8=
But by using your component to do it I get - STJ2qF6qtxs=.
This is not the result what I am expecting
I am using this code
Dim crypt As New wodCryptCom
Dim i_blob As New MemBlob
Dim o_blob As New MemBlob
i_blob.FromBase64( 1271 )
crypt.Type = CryptoTypes.Blowfish
crypt.SecretKey = LQSesirpretnENAMATNEC
crypt.Optimized = False
crypt.Padding = WODCRYPTCOMLib.CryptoPadding.PadPKCS7
' WODSSHKeyLib.Keys(k = New WODSSHKeyLib.KeysClass)
' k.FromXmlString(m_RSA.ToXmlString(True))
crypt.Encrypt(i_blob, o_blob)
Dim str As String = o_blob.ToBase64
Response.Write(str)
Response.Write( <br> )
i_blob.FromBase64(str)
crypt.Decrypt(i_blob, o_blob)
Response.Write(o_blob.ToBase64)
Please advice how do i get the same result as I am getting in my Windows Application.
Regards
Sovan
Complete thread:
- 128 bit blowfish algorithm - sovan, 2006-07-31, 10:37
- Re: 128 bit blowfish algorithm - wodDamir, 2006-07-31, 12:02
- Re: 128 bit blowfish algorithm - sovan, 2006-07-31, 13:46
- Re: 128 bit blowfish algorithm - wodDamir, 2006-07-31, 14:40
- Re: 128 bit blowfish algorithm - wodSupport, 2006-07-31, 16:57
- Re: 128 bit blowfish algorithm - sovan, 2006-08-01, 09:42
- Re: 128 bit blowfish algorithm - wodSupport, 2006-08-01, 09:46
- Re: 128 bit blowfish algorithm - sovan, 2006-08-01, 12:54
- Re: 128 bit blowfish algorithm - wodSupport, 2006-08-01, 15:33
- Re: 128 bit blowfish algorithm - sovan, 2006-08-02, 06:46
- Re: 128 bit blowfish algorithm - wodDamir, 2006-08-02, 08:46
- Re: 128 bit blowfish algorithm - sovan, 2006-08-02, 10:11
- Re: 128 bit blowfish algorithm - wodDamir, 2006-08-02, 08:46
- Re: 128 bit blowfish algorithm - sovan, 2006-08-02, 06:46
- Re: 128 bit blowfish algorithm - wodSupport, 2006-08-01, 15:33
- Re: 128 bit blowfish algorithm - sovan, 2006-08-01, 12:54
- Re: 128 bit blowfish algorithm - wodSupport, 2006-08-01, 09:46
- Re: 128 bit blowfish algorithm - sovan, 2006-08-01, 09:42
- Re: 128 bit blowfish algorithm - wodSupport, 2006-07-31, 16:57
- Re: 128 bit blowfish algorithm - wodDamir, 2006-07-31, 14:40
- Re: 128 bit blowfish algorithm - sovan, 2006-07-31, 13:46
- Re: 128 bit blowfish algorithm - wodDamir, 2006-07-31, 12:02