in reply to about crypt/decrypt strings with Rijndael
so I tried to unpack ("H*")
try
$str = join '', map { chr } unpack( "(H2)*", $str ); [download]
update: or, shorter
$str = pack "C*", unpack "(H2)*", $str; [download]