我正在使用UTC時區和我的應用程序中的時間來獲取數據。在應用程序中,無論用戶何時可以獲取UTC時間並用於獲取數據。 我使用這種方法來獲取UTC時間。 String format = "yyyy-MM-dd HH:mm:ss";
final SimpleDateFormat sdf = new SimpleDateFormat(format);
sdf.setTimeZone(TimeZone.
我有這樣的代碼 define('CRYPTKEY','rx4/YK51nJo7LuRnZAz/jpXZbCunkNplneL6ugkBs5g=');
define('CRYPTALGO','aes-256-cbc');
public function crypt($text){
$iv = openssl_random_pseudo_bytes(openssl_cipher_iv_leng