アフィン暗号でデコード

対応する標準に従って “Affine Cipher” で入力をデコードします。

入力: テキスト結果: テキスト

テキスト入力

実行すると結果が表示されます

使用例

The published ATTACK AT DAWN exercise

Use the reversible key a=5, b=8 for a historical substitution exercise. Five has a multiplicative inverse modulo 26.

入力

IZZISGIZXIOV

Expected answer

ATTACKATDAWN
a
5
b
8
A field notebook location

Use the reversible key a=5, b=8 for a historical substitution exercise. Five has a multiplicative inverse modulo 26.

入力

QCCZIZZRCNPWXMC

Expected answer

MEETATTHEBRIDGE
a
5
b
8
A toy release label

Use the reversible key a=5, b=8 for a historical substitution exercise. Five has a multiplicative inverse modulo 26.

入力

PCIXYHAPPCLCIUC

Expected answer

READYFORRELEASE
a
5
b
8
A historical-cipher puzzle clue

Use the reversible key a=5, b=8 for a historical substitution exercise. Five has a multiplicative inverse modulo 26.

入力

HALLAOZRCORWZCPINNWZ

Expected answer

FOLLOWTHEWHITERABBIT
a
5
b
8
A mixed-case help message

Use the reversible key a=5, b=8 for a historical substitution exercise. Five has a multiplicative inverse modulo 26.

入力

Ucvx rclf vao

Expected answer

Send help now
a
5
b
8
Affine Decode: invalid a (coprime)

入力

vhnl tldv xyl vcxelo xv qhrtv. zkolg[nl]

Expected rejection

Message contains
The value of `a` must be coprime to 26.
a
8
b
23
Affine Decode: invalid a & b (non-integer)

入力

vhnl tldv xyl vcxelo xv qhrtv. zkolg[nl]

Expected rejection

Message contains
The values of a and b can only be integers.
a
0.1
b
0.00001
Affine Decode: no effect

入力

vhnl tldv xyl vcxelo xv qhrtv. zkolg[nl]

Expected answer

vhnl tldv xyl vcxelo xv qhrtv. zkolg[nl]
a
1
b
0
Affine Decode: normal

入力

vhnl tldv xyl vcxelo xv qhrtv. zkolg[nl]

Expected answer

some keys are shaped as locks. index[me]
a
23
b
23

関連ツール

暗号化 / エンコード

操作の参考資料

元の技術文書を見る (English)