Thank you @gstolz
I found an actualization to this for the new versions including the 2.0:
Now It uses the sha-256 algorithm to encrypt the information if the openssl version is higher than version 1.0.0. if the version is below than the 1.0.0 use the md5 algorithm.
Thank you.