ヒント
ヒント 1見る
OTPでは ciphertext = plaintext XOR key です
ヒント 2見る
key = ciphertext1 XOR known_plaintext1 で求められます
ヒント 3見る
得られた鍵 TOKEN で ciphertext2 を復号します
One-Time Pad Key Reuse Attack
ワンタイムパッドは鍵を一度だけ使う場合に安全です。同じ鍵を再利用すると、既知平文から別の平文を復元できます。 同じ鍵で暗号化された2つの暗号文: ciphertext1_hex = 1c0a070901 known_plaintext1 = HELLO ciphertext2_hex = 060a1e160b known_plaintext1 と ciphertext1 から鍵を復元し、ciphertext2 をXORで復号してください。復号した文字列を KINOCO{...} で包んだものがフラグです。
OTPでは ciphertext = plaintext XOR key です
key = ciphertext1 XOR known_plaintext1 で求められます
得られた鍵 TOKEN で ciphertext2 を復号します