Identifier.php
320 Bytes
<?php
namespace App\Helper;
/**
 * Class Aes
 * @package App\Helper
 */
class Identifier
{
    /**
     * 解析身份证
     * @param $ciphertext
     * @return string
     */
    public static function resolve($ciphertext)
    {
        return empty($ciphertext) ? null : AesEncrypt::decrypt($ciphertext);
    }
}