Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net implemenation of AES
Message
From
26/09/2021 15:01:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
23/09/2021 20:18:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682347
Message ID:
01682359
Views:
69
Likes (1)
Hi Albert,

>>I have started testing using an AES encryption/decryption class that is accessed through a dot-net bridge (wwClient tools). It works but do not know which AES is it using - AES256 or AES128 etc.

Unless there's reason not to, you might be better off with the very good vfpencryption.fll which is freeware from Craig Boyd/Sweet Potato software. It's a standard VFP fll with loads of encryption options including AES. It allows you to specify not just AES bit level, but also Block Cipher mode. For years most AES implementations defaulted to ECB for block cipher, but this is no longer regarded as secure with some state entities now disallowing EBC in their apps. Vfpencryption does default to ECB but this is easily overridden to one of the other block ciphers.

The other option would be VFP C++ Compiler that allows you to bake AES-256 right into your app, with no external libraries required. There's actually an example of this in the demo installset and hopefully there will be time to go over this in the upcoming Foxfest session on VFP C++ Compiler if you're attending. - J
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform