From 25ccbc3e769c754248b0c8be421f090337478631 Mon Sep 17 00:00:00 2001 From: Albert Veli Date: Mon, 20 Jul 2026 09:13:49 +0200 Subject: [PATCH] Add age-encryption samples Format description: https://github.com/C2SP/C2SP/blob/main/age.md --- age-encryption/README.md | 22 ++++++++++++++++++++++ age-encryption/hello.txt.age | 5 +++++ age-encryption/john.txt.age | 6 ++++++ 3 files changed, 33 insertions(+) create mode 100644 age-encryption/README.md create mode 100644 age-encryption/hello.txt.age create mode 100644 age-encryption/john.txt.age diff --git a/age-encryption/README.md b/age-encryption/README.md new file mode 100644 index 0000000..01d597a --- /dev/null +++ b/age-encryption/README.md @@ -0,0 +1,22 @@ +# age sample files + +Sample files for the `age` format in John the Ripper. + +[age](https://age-encryption.org/) is a simple, modern file encryption tool. +These samples use passphrase-based encryption (scrypt + ChaCha20-Poly1305). + +## Files + +| File | Plaintext | Password | +|------|-----------|----------| +| `hello.txt.age` | `Hello, World!` | `iloveyou` | +| `john.txt.age` | `John is so Wonderful!` | `password123` | + +## Usage + +Extract hashes with `age2john.py`, then crack with john: + +``` +python age2john.py hello.txt.age john.txt.age > hashes.txt +john hashes.txt +``` diff --git a/age-encryption/hello.txt.age b/age-encryption/hello.txt.age new file mode 100644 index 0000000..6d1c8f5 --- /dev/null +++ b/age-encryption/hello.txt.age @@ -0,0 +1,5 @@ +age-encryption.org/v1 +-> scrypt 3+AYmr2LXFxcQaegEn1wXQ 18 +y+SzcIFamuG3wk+iKYGTBoioI3oGsxMISUa5gqAU21M +--- LaicO3jgjTSc69lg3lY+NeYSqKonvRvNvxaCSNHsVKc +wñXÜbØ•Ž¤HtY¨¨5 þ×#9™éáß`>8覞^L3ÏÝÔtùÌñ \ No newline at end of file diff --git a/age-encryption/john.txt.age b/age-encryption/john.txt.age new file mode 100644 index 0000000..bb45c5b --- /dev/null +++ b/age-encryption/john.txt.age @@ -0,0 +1,6 @@ +age-encryption.org/v1 +-> scrypt tdfPk+upozqodquzFqHMdg 18 +yBmEsL1NL7kU0O15EaERH0W5Pb80U8DRXJJN5qy9Nww +--- 4xgz8jkaoXR7SN/ddZOZn2CE5tdhWN8Ak6HMz3uEFtI +‚´> +.Jäêš«[%¦†‘Ñot8·³ÓcA’ žç;ê€;8C|°ý`ÖÑ~RzaqòÕÜ \ No newline at end of file