Four Square

Free online Four-Square Cipher encrypt/decrypt tool. Based on four 5x5 squares, classical polyalphabetic cipher, pure JS implementation.

사용법

기능

  • Four-Square 密码:4 5x5 方阵,左上/右下是标准 A-Z(合并 I/J),右上/左下是密钥生成
  • 每对字母 (a,b):找 a 在左上、b 在右下 → 输出"右上 a 行" + "左下 b 行"
  • 非 A-Z 字符被忽略,长度奇数补 X

활용 사례

  • 经典示例:key1=EXAMPLE, key2=KEYWORD, 明文 HELP → ?
  • 加密效果优于 Playfair 但同样易被频率分析破解

나이nt API 사용법

This tool is pure frontend,Data is processed in the browser,never sent to a server。 manifest 中 api_url 为空,/api/four_square/ endpoint does not exist(返回 404)。 Agent 请读取 schema.json 理解字段,Please execute the tool logic in the browser first。
// Step 1: 读取工具 Schema
GET https://clawam.com/tools/four_square/schema.json

// Step 2: 在浏览器中执行工具逻辑
// Four-Square 密码 在工具页 JS 中实现