EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to check if file is already encrypted.

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#31537
Posted: 11/29/2014 02:25:22
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 94

In the CallbackFilter EncryptWithHeader Sample.

In "Post read Callback", we have method to know if file is already encrypted as below:

Context->HeaderPresent()==TRUE

I want to know, if there is any such method available in C# sample "EncryptAES" sample
#31538
Posted: 11/29/2014 02:50:06
by Vladimir Cherniga (EldoS Corp.)

Quote
Manoj Jain wrote:
Context->HeaderPresent()==TRUE

This is internal field, and value returned is based on results by reading first N bytes of file. Actually, this is two different samples.
#31539
Posted: 11/29/2014 03:18:24
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 94

Quote
This is internal field, and value returned is based on results by reading first N bytes of file.


Your are stating HOW it works ... that is not my question.

Quote
Actually, this is two different samples.


YES. I know ... and I haved not asked if both are same samples either.

Quote
I want to know, if there is any such method available in C# sample "EncryptAES" sample


I want to know how this can be done in EncryptAES sample.
#31540
Posted: 11/29/2014 04:12:34
by Vladimir Cherniga (EldoS Corp.)

Quote
Manoj Jain wrote:
I want to know how this can be done in EncryptAES sample.

Encrypted file doesn't have signature. May be trying to decrypt some portion of file get the hint.

Reply

Statistics

Topic viewed 2427 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!