osumionline/plugin-crypt

Plugin OCrypt para Osumi Framework

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/osumionline/plugin-crypt

3.1.0 2025-02-04 11:26 UTC

This package is auto-updated.

Last update: 2025-10-04 12:54:31 UTC


README

Osumi Framework Plugins: OCrypt

Este plugin aƱade la clase OCrypt al framework con el cifrar / descifrar textos usando OpenSSL:

$crypt = new OCrypt('secret_key');
$encrypted_text = $crypt->encrypt('text'); // Resultado: "n0HrXZ6rj8CdxYB0xqGt4FTzsh0="
$decrypted_text = $crypt->decrypt('n0HrXZ6rj8CdxYB0xqGt4FTzsh0='); // Resultado: "text"