Skip to content

[4.x] Rewrite the README around the actual API - #42

Open
Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-readme
Open

Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-readme

Conversation

@Hackwar

@Hackwar Hackwar commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

README.md describes PasswordInterface (with the BLOWFISH/JOOMLA/MD5/PBKDF constants) and Password\Simple, which no longer exist. The actual API (Crypt, CipherInterface, the three ciphers, Key, the exceptions) and the security caveats of Cipher\OpenSSL and Cipher\Sodium are not mentioned, and the build badge points at 3.x-dev.

This PR rewrites the package description around the real classes, shows the recommended Cipher\Crypto usage (including that defuse/php-encryption must be installed and that cipher and key should always be passed to Crypt), lists short security notes on the OpenSSL and Sodium ciphers and key handling, links to docs/, and points the badge at 4.x-dev. The installation section is unchanged.

Testing Instructions

Documentation only. Compare the README with src/ and docs/overview.md.

Documentation Changes Required

README.md only.

🤖 Generated with Claude Code

The README described PasswordInterface and Password\Simple, which were
removed long ago, and did not mention Crypt, the ciphers, Key or the
security caveats of the OpenSSL and Sodium ciphers. The build badge pointed
at 3.x-dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant