using System.Security.Cryptography;
public static void Main()
var pbkdf2 = new Rfc2898DeriveBytes(
password: Encoding.Unicode.GetBytes("1234"),
salt: Encoding.ASCII.GetBytes("21.project.ets.knx.org"),
hashAlgorithm: HashAlgorithmName.SHA256);
var zipPassword = Convert.ToBase64String(pbkdf2.GetBytes(32));
Console.WriteLine(zipPassword);