• When I changed success value from 0 to 2, it runs without any error but no encrypted file is then created.

    Thanks.