This is less of an issue with the KeyDrop (#27)
but if KeyDrop isn't use it would be nice to create this code in a different language and use the same keys.
Right now it is using php serialize which can probably be replaced with json_encode / json_decode
|
$plaintext = "p" . serialize($value); |
|
$this->value = unserialize(substr($value, 1)); |
This is less of an issue with the KeyDrop (#27)
but if KeyDrop isn't use it would be nice to create this code in a different language and use the same keys.
Right now it is using php serialize which can probably be replaced with json_encode / json_decode
lockbox/src/Secret.php
Line 128 in db3dbc1
lockbox/src/Secret.php
Line 157 in db3dbc1