mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
PluginTools Added get_lib_version
This commit is contained in:
parent
0edf8cd046
commit
5f0bc277b6
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user