Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Encrypt using AES(block size 128-bit) in CBC

by u65 (Chaplain)
on Jun 14, 2015 at 10:10 UTC ( [id://1130354]=note: print w/replies, xml ) Need Help??


in reply to Encrypt using AES(block size 128-bit) in CBC

I assume you are taking into account the newlines in the input string?

  • Comment on Re: Encrypt using AES(block size 128-bit) in CBC

Replies are listed 'Best First'.
Re^2: Encrypt using AES(block size 128-bit) in CBC
by mikemc24 (Novice) on Jun 14, 2015 at 12:16 UTC
    It's what the provider (Sagepay)says should be the result of the encryption. When I decrypt the expected result using my encryption method there is nothing recognisable in the output so I must be doing something wrong somewhere.

      Can you provide a link to your provider's instruction ref the situation? I don't see you doing anything wrong in your use of the modules.

Re^2: Encrypt using AES(block size 128-bit) in CBC
by mikemc24 (Novice) on Jun 14, 2015 at 10:34 UTC
    Yes, It is one row in the query.

      Okay, I see the string is one line now. And I get the same results as you. Why do you think that is wrong? How do you get the other result?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1130354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-18 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found