Cryptography & Ciphers
PRESENT Encryption
Apply PRESENT Encrypt with explicit key, format, and algorithm settings. Enter the data and key material, choose the parameters, then review the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
PRESENT Encryption uses PRESENT block encryption to process the supplied input. It returns ciphertext for the supplied plaintext bytes. The lightweight construction uses 31 rounds and exposes CBC or ECB only.
It returns ciphertext for the supplied plaintext bytes. The lightweight construction uses 31 rounds and exposes CBC or ECB only. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings. Processing runs in the browser.
This tool performs the selected algorithm locally; it does not provide application trust or key management.
Instructions
- Provide text or data for this tool.
- Use disposable test material; the zero IV is only a reproducible example. This applies to PRESENT Encryption.
- Keep the complete ciphertext and settings for the paired decrypt operation. This applies to PRESENT Encryption.
Example
Input: Use ASCII abc, CBC, key 000102030405060708090a0b0c0d0e0f in Hex, and an all-zero 8-byte IV.
Settings: PRESENT Encryption: Key length: 10 or 16 bytes. Non-ECB IV length: 8 bytes. Use Padding PKCS5 for the sample; the 80-bit key option contains exactly 20 hexadecimal characters. Input: Raw; Output: Hex for a transferable ciphertext fixture.
Result: It returns ciphertext for the supplied plaintext bytes. The lightweight construction uses 31 rounds and exposes CBC or ECB only. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings.
Limits
- PRESENT Encryption: 8-byte blocks determine alignment requirements when padding is disabled.
- PRESENT Encryption: These modes do not add an authentication tag or manage keys.