anujprashar
anujprashar

Reputation: 6335

Golang creating password protected zip file

I am trying to create password protected zip file in golang using package archive/zip. I am not able to find any example that it support creating password protected archive. I came across another library https://github.com/alexmullins/zip but last commit on it is 5 years back and I am not sure if it will not create any issue if used in code.

How I can create password protected archive in golang. Does archive/zip can be used to create password protected archive.

Upvotes: 3

Views: 6100

Answers (1)

anujprashar
anujprashar

Reputation: 6335

For now using https://github.com/alexmullins/zip to create password protected zip file.

Upvotes: 2

Related Questions