micseres/micro-service-encrypt

Micro Service Encrypt

Maintainers

Package info

github.com/micseres/micro-service-encrypt

pkg:composer/micseres/micro-service-encrypt

Statistics

Installs: 12 209

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.2 2021-04-20 07:52 UTC

This package is auto-updated.

Last update: 2026-02-20 18:11:26 UTC


README

Usage

$this->encrypt = new OpenSSLEncrypt('CAMELLIA-256-CFB');
//or $this->encrypt = new DummyEncrypt(); to do nothing

$this->encrypt->setPassword($this->bobDH->getSharedKey($alicePublickKey));

$secure = $this->encrypt->encrypt($request);
$plain = $this->encrypt->decrypt($request);

License

The Soft Deletable Bundle is open-sourced software licensed under the MIT license.