How to decrypt the encrypted data?
Closed this issue · 1 comments
windchime18 commented
How to decrypt the encrypted data?
paragonie-security commented
How did you encrypt it?
- If you used
EncryptedField::encryptValue()
, usedecryptValue()
. - If you used
EncryptedRow::encryptRow()
, usedecryptRow()
. - If you used
EncryptedMultiRows::encryptRows()
, usedecryptRows()
.
In every context where you used the prepareForStorage()
idiom, what you actually got was an array of size 2, where index 0 is the ciphertexts (which can be passed to one of the congruent methods listed above) and index 1 is your blind indexes. You can either store those inline or in a separate table to map rows.