Can someone share a source code of AES-256 string (WCHAR) encryption / decryption?I really need it and couldn't go pass that MS Crypto API nonsense.


Searched in many places, but I need a decent encryption / decryption function, which in not dependent on neither input nor key (password) length (must do the padding on its own).


Please share Your knowledge. I have a nice idea for an app which I can't finish because of lack of simple 3 argument string enc/dec function in WM (like EncryptStr(WCHAR* in, WCHAR* key, WCHAR** out) and DecryptStr(WCHAR* in, WCHAR* key, WCHAR** out)).


Thanks in advance.

If You'll find my answer satisfactory or helpful - mark it as answered or vote for it! Thank You.
"If You think You know better then me, why is Your code not working, then don't waste my time at this forum. Otherwise - do as I'm suggesting."

More...