Releases: evervault/evervault-php
Releases · evervault/evervault-php
vv0.1.1
v0.1.0
Minor Changes
- 46903c5: The
encrypt
function has been enhanced to accept an optional Data Role. This role, once specified, is associated with the data upon encryption. Data Roles can be created in the Evervault Dashboard (Data Roles section) and provide a mechanism for setting clear rules that dictate how and when data, tagged with that role, can be decrypted.
evervault.encrypt("hello world!", "allow-all");
Patch Changes
- 9972dd1: Fixes issue in PHP 7.1 & 7.2 caused by trailing commas
v0.0.9
What's Changed
Added Client Side Decrypt Tokens
Note: This function is not available if you are in scope for PCI
$evervault->createClientSideDecryptToken()
creates a time-bound token that can be used to decrypt previously encrypted data.
The $data
parameter is required and ensures the token can only be used to decrypt that specific payload.
The $expiry
parameter sets the expiry for the token. It is UNIX time in seconds. It defaults to 5 minutes into the future if not provided. The max time is 10 minutes into the future.
$timeInFiveMinutes = time() + 5*60;
$token = $evervault->createClientSideDecryptToken([
'encrypted' => $encrypted
], $timeInFiveMinutes);
Full Changelog: v0.0.8...v0.0.9
v0.0.8
Full changelog: v.0.0.7...v0.0.8
v0.0.7
Full changelog: v0.0.6...v0.0.7
v0.0.6
Full Changelog: v0.0.5...v0.0.6
Revamped PHP SDK
Merge pull request #5 from evervault/shane/sdk-revamp PHP SDK revamp
v0.0.4
Evervault PHP Bindings — Initial Release
v0.0.3 Fixed error typo