How zip and unzip with password

Everyone can no how to zip file on device with password and unzip this file.

Do you control both the zipping and unzipping? IOW, do you have complete freedom to choose how the encryption is implemented?