demoversion: encrypting (wodCrypt)
Hi,
is it also possible to encrypt some data correctly with the demoversion?
I saw your example in the Getting-Started-Guide, but if I use these params (secretkey and textmessage) I didn`t get the same decryption result.
[code]
Dim crypt As New wodCryptCom
Dim i_blob As New MemBlob
Dim o_blob As New MemBlob
i_blob.Text = this is text to be encrypted
crypt.Type = AES
crypt.SecretKey = my secret word
crypt.Encrypt i_blob, o_blob
Debug.Print o_blob.ToBase64
result:
xHBuQv8ae1vXCVA6/3/YCd5IUjL3lbnbzHDjlWt74fGfcNuS3osQtID1BMhepJI3
[/code]
I didn`t have any additional characters in the key as well as in the text message. My result will be:
[code]UrVASSj9kHMr3cNWKMf8OJ7IFMahdAFnOtR/7cGFipw=[/code]
best regards
Hans
Complete thread:
- demoversion: encrypting - MFC, 2010-10-14, 21:28
- Re: demoversion: encrypting - wodDamir, 2010-10-14, 21:42
- Re: demoversion: encrypting - MFC, 2010-10-14, 21:59
- Re: demoversion: encrypting - wodDamir, 2010-10-14, 22:57
- Re: demoversion: encrypting - MFC, 2010-10-14, 21:59
- Re: demoversion: encrypting - wodDamir, 2010-10-14, 21:42