Solved

how to check if a file is EncryptFile or not?

Posted on 2004-08-11
3
217 Views
Last Modified: 2013-12-24
How can i check if a file is Encrypt file or not...

I use the Encrypt file function on several places within my movie but if the movie is stopped by the user and the EncryptFile function is over ruled or passed by how do i know if it is Encrypted?.

I save a text file Encrypted on the users local disk..

Must i put a special character in my text file and check it. If it isn't true then decrypt the file.

Or am i thinking to simple here
0
Comment
Question by:actionbolt_man
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
MediaMacros earned 125 total points
ID: 11771975
I assume you mean Buddy API's baEncryptFile or baEncryptText functions.  AN easier way might be to always save teh text encrypted with baEncryptText instead of baEncryptFile.  This way you know the text you read in is always encrypted and easier to test.  

Placing a word or char in the first line is also a safe way to test if its properly decrypted.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question