zip.SetDefaultPassword(id, pwd$)
id
and a password in pwd$
. If you pass an empty string in
pwd$
, the default password is unset.
Functions that use the default password if no other password is explicitly specified are zip.AddFile(), zip.ExtractFile(), and zip.SetFileEncryption().