Encrypt PDF

Shouldn’t the password be of SecureString type? Currently, the password is in clear text and doesn’t comply with best practice.