Implemented --encrypt command