1

How to use Openssl to encryption and decryption for files by using XChaCha20Poly1305 in Terminal ?

openssl enc -chacha20 -base64 -salt -p -iter 700 -md sha512 -in input.file -out output.file

openssl enc -chacha20 -d -base64 -salt -p -iter 700 -md sha512 -in input.file -out output.file

How to implement XChaCha20Poly1305 in this?

  • This question is already covered here [https://stackoverflow.com/questions/16056135/how-to-use-openssl-to-encrypt-decrypt-files](https://stackoverflow.com/questions/16056135/how-to-use-openssl-to-encrypt-decrypt-files) – abhinit21 Nov 01 '21 at 16:53
  • I need to do XChaCha20Poly1305 algorithm – SAVIO PRINCE Nov 02 '21 at 07:46
  • Please provide enough code so others can better understand or reproduce the problem. – Community Nov 02 '21 at 09:41

0 Answers0