David,
The problem I had is how I put together the string to be encrypted,
when to consider or not the characters that should be converted to hexadecimal,
that was solved, both your contribution and openssl work perfectly
thanks again
best regards