PRESENTで暗号化

入力を“PRESENT”で暗号化します。

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

テキスト入力

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

使用例

Example keys and passwords are public test material.

A release record

入力

RELEASEONE

Expected checks

PRESENT Decrypt recovers:
52454c454153454f4e45
鍵
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
A sensor label

入力

SENSORWEST

Expected checks

PRESENT Decrypt recovers:
53454e534f5257455354
鍵
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
A telescope target

入力

MOONPHASES

Expected checks

PRESENT Decrypt recovers:
4d4f4f4e504841534553
鍵
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
A puzzle clue

入力

FOLLOWBIRD

Expected checks

PRESENT Decrypt recovers:
464f4c4c4f5742495244
鍵
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
An archive marker

入力

ARCHIVEDOC

Expected checks

PRESENT Decrypt recovers:
41524348495645444f43
鍵
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
128-bit zero key consistency

入力

TestData

Expected answer

e127a24e38de2c36407e794ef5dffefd
鍵
{"string":"00000000000000000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
80-bit zero key consistency

入力

TestData

Expected answer

b78cfea5ffcd89f265585a6ce7312131
鍵
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Raw
出力
Hex
パディング
PKCS5
PRESENT Official Vector 1: 80-bit zero key, zero plaintext

入力

0000000000000000

Expected answer

5579c1387b228445
鍵
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Hex
出力
Hex
パディング
NO
PRESENT Official Vector 2: 80-bit all-ones key, zero plaintext

入力

0000000000000000

Expected answer

e72c46c0f5945049
鍵
{"string":"ffffffffffffffffffff","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Hex
出力
Hex
パディング
NO
PRESENT Official Vector 3: 80-bit zero key, all-ones plaintext

入力

ffffffffffffffff

Expected answer

a112ffc72f68417b
鍵
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
モード
ECB
入力
Hex
出力
Hex
パディング
NO

関連ツール

暗号化 / エンコード

操作の参考資料

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