Use SHA1 hash of content as IV to encrypt content with AES-256 CBC?

前端 未结 0 1999
情歌与酒
情歌与酒 2021-01-12 19:22

I\'d like to encrypt plaintext such that if identical plaintext is encrypted it generates the same ciphertext. Is it safe to use the first 16 bytes of the SHA1 of the conten

相关标签:
回答
  • 消灭零回复
提交回复
热议问题