PluginTools Added get_lib_version

This commit is contained in:
fbsanchez 2017-11-29 17:13:12 +01:00
parent 0edf8cd046
commit 5f0bc277b6
1 changed files with 2 additions and 2 deletions

View File

@ -1714,7 +1714,7 @@ sub encrypt {
$salt = "default_salt";
}
my $processed_salt = substr(hmac_sha256_base64($salt,''), 0, 16);
my $processed_salt = substr(Digest::SHA::hmac_sha256_base64($salt,''), 0, 16);
if (empty($iv)) {
$iv = "0000000000000000";
@ -1749,7 +1749,7 @@ sub decrypt {
$salt = "default_salt";
}
my $processed_salt = substr(hmac_sha256_base64($salt,''), 0, 16);
my $processed_salt = substr(Digest::SHA::hmac_sha256_base64($salt,''), 0, 16);
if (empty($iv)) {
$iv = "0000000000000000";