What encryption algorithm is best for encrypting cookies?

后端 未结 13 1096
感动是毒
感动是毒 2020-11-30 17:29

Since this question is rather popular, I thought it useful to give it an update.

Let me emphasise the correct answer as given by AviD to

13条回答
  •  清歌不尽
    2020-11-30 17:50

    AES (also known as Rijndael) is the most popular. The block size is 128-bits, that's only 16-bytes, and you're talking "around 100 characters".

提交回复
热议问题