AES256-SHA encryption for WinCE? lazarus / 35-Windows CE ---------------------------------------------------------------------- ertank · 2016-04-09 12:20 Hi, I wonder if there is such a code available indicated in the subject. In detail; I want to use TAES-CFB (key hashed by SHA256) and Initialization Vector (IV) to be randomly defined by code. If that's not available, I would like to know what crypt methods are available since hashing will not be enough for my case. Thanks. ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-09 12:48 http://wiki.freepascal.org/DCPcrypt That code looks device agnostic Update: Interesting.  PeaZip is opensource, and it reportedly supports AES256 under Win-CE.  If you draw a blank with the above, you could research that.  Source code here: https://github.com/giorgiotani/PeaZip/releases/ ---------------------------------------------------------------------- Thaddy · 2016-04-09 13:09 AES256 sha is part of mscrypt which is readily available for wince, I believe. Otherwise it should be extremely easy to translate from e.g. the jedi sources. ---------------------------------------------------------------------- ertank · 2016-04-10 08:26 Quote from: Mike.Cornflake on April 09, 2016, 02:48:16 pmhttp://wiki.freepascal.org/DCPcrypt That code looks device agnostic Update: Interesting.  PeaZip is opensource, and it reportedly supports AES256 under Win-CE.  If you draw a blank with the above, you could research that.  Source code here: https://github.com/giorgiotani/PeaZip/releases/ After looking at PeaZip code. I realize that it uses sources that I over looked earlier: http://www.wolfgang-ehrhardt.de/index.html Now, I worked on them several hours and I can use AES256 with fixed IV and no SHA on a WinCE device. Even there is sha256 available from same source, I will accept this much as enough and continue my main coding. Adapt my PC side crypt code to match WinCE.