in reply to Re^7: convert hexadecimal value to encrypted string
in thread convert hexadecimal value to encrypted string
I hope the above makes it clear. For my test to work, I need that $hex should match $binary.# The following to get encrypted value from server my $num = 8235; my $request = Create_Request($num,$algorithm,$key,$mode,$iv,$padding); my $response = Send_TCP($request,$server,$port); my $binary = Parse_String($response); # Now $binary should match whatever is stored in database # Create database connection etc.. my $hex = Get_Value($dbh,$table_name,$col_name); # Now is $binary == $hex? # How do I match $hex and $binary ??
Thanks
|
|---|