PRPC 6.1 onwards has the Apache POI libraries included. This allows you to manipulate the MS office documents. You can also try encryption based on https://poi.apache.org/encryption.html. Note that Pega internally has never tried or tested this feature nor does it have an API to allow you to do so. If this is a requirement, you will have to write your own Java code in an activity or rule-utility-function to do so.
hello, For a similar requirement we have tried this solution .Unfortunately this is not working ,Encryption is happening via algorithm and it is not able to recognize the password until decryption happening via the same algorithm too .