gchq / gchq/CyberChef

Padded AES

Open
#1,322 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

For AES Encrypt/Decrypt, I would like to enter a key that is UTF-8 for instance and is shorter than the required key length and it is padded with 0s (NULLs)

There are tools that currently do this however CyberChef does not.
This could potentially be a checkbox on AES Decrypt/Encrypt.

Contributor guide

Open the contributing guide

Research direction

Review the AES Encrypt/Decrypt operation entry points first, especially how key length and UTF-8 input are handled. The issue names no files or tests; locate the relevant implementation and coverage, then verify the proposed option for NULL-padding shorter keys during both encryption and decryption.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cryptography
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.