360 Secure SkillHub
360 安全技能中心

Hex Tool

提供 hex-tool 命令行工具,用于在十六进制、十进制、二进制和 ASCII 表示之间进行编码与解码,适用于二进制数据调试、文件头检查和字节级数据查看。支持文本转十六进制、十六进制转文本以及进制互转。

dinghaibin
dinghaibin
热度 31.14
最近更新 2026-05-11 17:46:29
分类:效率依赖:代码执行应用场景:调试排错 / 数据处理 / 文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add hex-tool
Metadata
name
hex-tool
description
Convert data between hexadecimal and other formats. Use for debugging binary data, examining file headers, and working with hex dumps.

Hex - Hexadecimal Conversion Tool

Convert between hexadecimal, decimal, binary, and ASCII representations. Essential for low-level debugging, binary protocol analysis, and byte-level data inspection.

Usage

hex-tool [options] <value>

Operations

  • Encode text or numbers to hexadecimal
  • Decode hexadecimal back to readable text
  • Convert between hex, decimal, and binary bases

Examples

# Encode text to hex
hex-tool --encode "Hello World"

# Decode hex to text
hex-tool --decode "48656c6c6f"

# Convert decimal to hex
hex-tool --from dec --to hex 255