Forum > Windows CE

AES256-SHA encryption for WinCE?

(1/1)

ertank:
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:
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:
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:

--- Quote from: Mike.Cornflake on April 09, 2016, 02:48:16 pm ---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/

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version