Currently the VBA export is developed in the feature/vba-export branch. However the current export is quite limited and we only support normal code modules and the basic VBA structure.
This task would be about implementing the password protection for the VBA export. The related part in the VBA specification (https://msdn.microsoft.com/en-us/library/office/cc313094%28v=office.12%29.aspx) is section 2.4.3.
The current export code is in oox/source/ole/vbaexport.cxx
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp)
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC)