public static function signedSerialize($data, $salt)
    {
        $serialized_data = serialize($data);
        $signature_data = self::hash($serialized_data . (string) $salt);

        return $signature_data . '|' . $serialized_data;
    }