src/Rad/Encryption/MCryptEncryption.php
public function sign(string $data, string $secret): string {
        return base64_encode(hash_hmac('md5', $data, $secret, true));
    }
public function sign(string $data, string $secret): string {
        return base64_encode(hash_hmac('md5', $data, $secret, true));
    }
public function sign ( string $ data , string $ secret ) : string { return base64_encode ( hash_hmac ( 'md5' , $ data , $ secret , true ) ) ; }
Sign current datas
@param string $data
@param string $secret
@return string
Sign current datas