Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

how to check if a file is EncryptFile or not?

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
actionbolt_man
Asked:
actionbolt_man
1 Solution
 
MediaMacrosCommented:
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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now