PRESENT 加密

使用 PRESENT 算法加密輸入資料。

輸入: 文本結果: 文本

文本輸入

執行後查看結果

範例

Example keys and passwords are public test material.

A release record

輸入

RELEASEONE

Expected checks

PRESENT Decrypt recovers:
52454c454153454f4e45
金鑰
{"string":"00112233445566778899","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
A sensor label

輸入

SENSORWEST

Expected checks

PRESENT Decrypt recovers:
53454e534f5257455354
金鑰
{"string":"00112233445566778899","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
A telescope target

輸入

MOONPHASES

Expected checks

PRESENT Decrypt recovers:
4d4f4f4e504841534553
金鑰
{"string":"00112233445566778899","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
A puzzle clue

輸入

FOLLOWBIRD

Expected checks

PRESENT Decrypt recovers:
464f4c4c4f5742495244
金鑰
{"string":"00112233445566778899","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
An archive marker

輸入

ARCHIVEDOC

Expected checks

PRESENT Decrypt recovers:
41524348495645444f43
金鑰
{"string":"00112233445566778899","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
128-bit zero key consistency

輸入

TestData

Expected answer

e127a24e38de2c36407e794ef5dffefd
金鑰
{"string":"00000000000000000000000000000000","option":"Hex"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Raw
輸出
Hex
填充方式
PKCS5
80-bit zero key consistency

輸入

TestData

Expected answer

b78cfea5ffcd89f265585a6ce7312131
金鑰
{"string":"00000000000000000000","option":"Hex"}
初始化向量
{"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"}
初始化向量
{"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"}
初始化向量
{"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"}
初始化向量
{"string":"","option":"Hex"}
模式
ECB
輸入
Hex
輸出
Hex
填充方式
NO

相关工具

加密 / 編碼

操作参考

查看原始技术文檔 (English)