Fix build failure with zlib on Windows.
Implement HMAC, PBKDF2 and AES support on Windows using CNG for
Zip encryption and decryption.
Implement readpassphrase function, which read a passphrase from console, on Windows.
Fix build failure without zlib.
Fix test failure without zlib.
Use archive_random() function instead of rand() function.