fixed number serialization for hmac filter