PRESENT Encryption Tool

Encrypt data with PRESENT. Match the key, mode and other options to the source or receiving system.

Input: TextResult: Text

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

A release record

Input

RELEASEONE

Expected checks

PRESENT Decrypt recovers:
52454c454153454f4e45
Key
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
A sensor label

Input

SENSORWEST

Expected checks

PRESENT Decrypt recovers:
53454e534f5257455354
Key
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
A telescope target

Input

MOONPHASES

Expected checks

PRESENT Decrypt recovers:
4d4f4f4e504841534553
Key
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
A puzzle clue

Input

FOLLOWBIRD

Expected checks

PRESENT Decrypt recovers:
464f4c4c4f5742495244
Key
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
An archive marker

Input

ARCHIVEDOC

Expected checks

PRESENT Decrypt recovers:
41524348495645444f43
Key
{"string":"00112233445566778899","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
128-bit zero key consistency

Input

TestData

Expected answer

e127a24e38de2c36407e794ef5dffefd
Key
{"string":"00000000000000000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
80-bit zero key consistency

Input

TestData

Expected answer

b78cfea5ffcd89f265585a6ce7312131
Key
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Raw
Output
Hex
Padding
PKCS5
PRESENT Official Vector 1: 80-bit zero key, zero plaintext

Input

0000000000000000

Expected answer

5579c1387b228445
Key
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
PRESENT Official Vector 2: 80-bit all-ones key, zero plaintext

Input

0000000000000000

Expected answer

e72c46c0f5945049
Key
{"string":"ffffffffffffffffffff","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
PRESENT Official Vector 3: 80-bit zero key, all-ones plaintext

Input

ffffffffffffffff

Expected answer

a112ffc72f68417b
Key
{"string":"00000000000000000000","option":"Hex"}
IV
{"string":"","option":"Hex"}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO

When using CBC mode, the PKCS#7 padding scheme is used.

Format reference: PRESENT Encrypt background and specification

Related tools

Browse encryption / encoding tools