implemented encryption; added encrypted file for test