芝麻web文件管理V1.00
编辑当前文件:/home/ezdajrnh/www/wp-content/plugins/better-wp-security/core/lib/encryption/User_Key_Rotator.php
old_encryption = $old_encryption; $this->new_encryption = $new_encryption; } /** * Decrypts and re-encrypts a value. * * @param string $original The original encrypted value. * @param int $user_id The user id. * * @return string The newly encrypted value. */ public function __invoke( string $original, int $user_id ): string { $decrypted = $this->old_encryption->decrypt( $original, $user_id ); $encrypted = $this->new_encryption->encrypt( $decrypted, $user_id ); $this->count ++; return $encrypted; } public function count(): int { return $this->count; } }