web-token/jwt-encryption-algorithm-pbes2
Adds PBES2 password-based encryption algorithms for JWT/JWE in the web-token stack. Enables PBES2-HS256+A128KW, PBES2-HS384+A192KW and PBES2-HS512+A256KW support for secure key wrapping when encrypting tokens.
credit_card_number, ssn) without full-database encryption overhead.Adopt if:
Look elsewhere if:
web-token/jwt or libsodium instead).For Executives: "This package lets us encrypt sensitive data in our Laravel apps using PBES2, a NIST-approved standard for key wrapping. It’s like adding a deadbolt to our database fields—only authorized services with the correct ‘password’ (derived from our master key) can decrypt data. This reduces our attack surface for breaches, aligns with compliance needs, and avoids costly custom dev work. For example, if we encrypt credit card numbers at rest, we can meet PCI DSS requirements without overhauling our infrastructure. The MIT license means no vendor lock-in, and the 3-star package is already battle-tested in production."
For Engineering: *"This is a drop-in PHP library for PBES2 key encryption, perfect for:
.env or API keys using a master password.encryption facade. We’d need to:How can I help you explore Laravel packages today?