src/Gateways/Wechat/Support.php
public static function decryptRefundContents($contents): string
    {
        return openssl_decrypt(
            base64_decode($contents),
            'AES-256-ECB',
            md5(self::$instance->key),
            OPENSSL_RAW_DATA
        );
    }
public static function decryptRefundContents($contents): string
    {
        return openssl_decrypt(
            base64_decode($contents),
            'AES-256-ECB',
            md5(self::$instance->key),
            OPENSSL_RAW_DATA
        );
    }
public static function decryptRefundContents ( $ contents ) : string { return openssl_decrypt ( base64_decode ( $ contents ) , 'AES-256-ECB' , md5 ( self :: $ instance -> key ) , OPENSSL_RAW_DATA ) ; }
Decrypt refund contents.

@author yansongda <me@yansongda.cn>

@param string $contents

@return string
Decrypt refund contents .