When encrypting an archive using:
7za a -tzip -mem=AES256 -p archive-name.zip archive-file-or-folder
there's only one password prompt. If a typo is made, there's nothing to catch that.
Adding a second prompt, below the current one, to type in the same password again and check if there's a difference between the two. If there's no difference, then create the encrypted archive.
When encrypting an archive using:
7za a -tzip -mem=AES256 -p archive-name.zip archive-file-or-folderthere's only one password prompt. If a typo is made, there's nothing to catch that.
Adding a second prompt, below the current one, to type in the same password again and check if there's a difference between the two. If there's no difference, then create the encrypted archive.