Encrypting (large) files in PHP with openSSL

前端 未结 4 1716
再見小時候
再見小時候 2020-12-11 06:30

I\'m trying to encrypt (big) files in PHP using AES and have looked into using Mcrypt and OpenSSL, the problem is all solutions I have found so far only encrypt strings, and

4条回答
  •  鱼传尺愫
    2020-12-11 06:46

    Using SSL on your website would take care of it for you. Any files that are transmitted are encrypted by the client browser, and server using the HTTPS protocol.

    As far as storing the encrypted versions of the files I would not recommend.

提交回复
热议问题