Hi João;
PB out-of-the-box does not support any logging or encryption. However, the STD Framework for both Native, Web & Mobile as well as the Web Service Framework support logging at the App, O/S Debug Log and/or Windows Event Queue level. Encryption and ciphering can be imposed on these as well. You are most welcome to use those free frameworks to achieve your security requirements or borrow the necessary code for your PB App's or in-house framework.
FYI: Frameworks, Example Logging App; Example Encryption.
Note: Appeon is planning to add encryption & ciphering features into the PB 2017 R3 release coming later this year.
HTH
Regards ... Chris