Adds `decrypt(text, shift)` (encrypt with `-shift`), exports it from the package, adds tests (basic, round trip, wrap-around) and updates README/docs.
Part 2 of 3 (Part 1: #1).
- Implement decrypt function that reverses encryption with negative
shift
- Export decrypt in package's public API
- Update tests with basic roundtrip and edge case tests
- Update documentation to reflect encryption/decryption support
Tirsvad
merged commit d4b3e6ab19 into main2026-10-04 07:20:22 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds
decrypt(text, shift)(encrypt with-shift), exports it from the package, adds tests (basic, round trip, wrap-around) and updates README/docs.Part 2 of 3 (Part 1: #1).