bentools/shh
Shh! is a lightweight PHP library for handling secrets: generate RSA key pairs, change private key passphrases, encrypt/decrypt payloads, and store encrypted secrets safely so only holders of the private key can decrypt.
.env files, config files in CI/CD pipelines).sha256/sha512)."We’re proposing bentools/shh, a lightweight PHP library to encrypt/decrypt secrets using OpenSSL. This lets us:
"bentools/shh gives us:
[$publicKey, $privateKey] = Shh::generateKeyPair('passphrase');
$encrypted = Shh::encrypt('secret', $publicKey);
$decrypted = Shh::decrypt($encrypted, $privateKey);
sha256/sha512 and key lengths (256–4096 bits).Key Selling Points:
How can I help you explore Laravel packages today?