I'm using Windows API CryptEncrypt with CALG_AES_256
I want to use a password to encrypt, from what I understand
1. CryptAcquireContext
2. CryptCreateHash (CALG_MD5)
3. CryptHashData
4. CryptDeriveKey
5. CryptEncrypt
I need to decrypt with nodejs crypto
& I used openssl
enc to test nodejs
decrypting was successful but with C code the message is different
How does windows use the hash ?