<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Jun 2016 08:17:00 Z</lastBuildDate><pubDate>28 May 2016 11:02:00 Z</pubDate><description>Hi,&#13;
&#13;
Using WinDev 21...&#13;
&#13;
Are there any methods that I can call to see if a file has already been encrypted to avoid encrypting it again? I do not want to change the filename to reflect if it has been encrypted.&#13;
&#13;
Does the encrypted file have a signature that could be low level read to determine if it is/was encrypted?&#13;
How would I detect and make sure an encrypted file doesn’t get encrypted again un-intentionally?&#13;
&#13;
Is WinDev or WLanguage capable to create a user defined function that reveals whether its encrypted or not. Something like IsEncrypted()... that would add a 20 byte header to the file AFTER it is encrypted and allow us to supply the content value for the header so the encrypt routine knows what to store in the first 20 bytes. This way it can be automatic and not re-encrypt the file if the encrypt routine first read the file's header, (byte 1 thru 20).&#13;
&#13;
I've considered doing this but I'm afraid of performance issues on files greater that 5mb. If this could be done at a low level, then performance might not be an issue. And of course, to decrypt, one would have to first strip the 20 byte header away BEFORE decrypting.&#13;
&#13;
Any thoughts?&#13;
Stanley</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp</link><title>Testing &amp;quot;Is a File Encrypted&amp;quot;</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57923/read.awp</comments><pubDate>1 Jun 2016 08:17:00 Z</pubDate><description>Thanks Paulo, I'll now do my homework with your suggestions.&#13;
&#13;
Stanley</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57923/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57923/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57910/read.awp</comments><pubDate>31 May 2016 13:32:00 Z</pubDate><description>If i understand you correctly:&#13;
&#13;
1 - use floadbuffer http://doc.windev.com/en-US/?1000019410&#13;
2 - use right http://doc.windev.c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57910/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57910/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57903/read.awp</comments><pubDate>31 May 2016 00:59:00 Z</pubDate><description>Hi Peter,&#13;
&#13;
Adding an extension ".p7m" to the filename is in fact changing its name and breaking the rules on what the actual f…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57903/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57903/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57900/read.awp</comments><pubDate>30 May 2016 17:59:00 Z</pubDate><description>Hi Stanley,&#13;
&#13;
In general an encrypted file will get a different extension. Just the same way as a compressed file will get a di…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57900/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57900/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57879/read.awp</comments><pubDate>28 May 2016 23:24:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
&gt;&gt; if you know the type of file, you know what type of content it should have at it's beginning and you can check…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57879/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57879/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57873/read.awp</comments><pubDate>28 May 2016 14:25:00 Z</pubDate><description>Hi Stanley,&#13;
&#13;
if you know the type of file, you know what type of content it should have at it's beginning and you can check fo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57873/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot-57873/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57871-testing-quotis-file-encryptedquot/read.awp">Testing &amp;quot;Is a File Encrypted&amp;quot;</source><title>Re: Testing &amp;quot;Is a File Encrypted&amp;quot;</title></item></channel></rss>
