GM's avatar
Level 8

Decrypting a file rather than a string

I have a requirement to decrypt SSL encrypted files in Lumen. I will have the private key for each file with which to decrypt. As far as I can determine Lumen/Laravel only deal with encrypted strings, not entire files, or do I just stream the entire file in as a string to the decrypt method?

0 likes
1 reply
bashy's avatar

I guess you could load the data and decrypt it like that then make it a file again?

Please or to participate in this conversation.