EldoS | Feel safer!

Software components for data protection, secure storage and transfer

.wav files

#2944
Posted: 05/17/2007 15:28:14
by April Vicars (Basic support level)
Joined: 04/17/2007
Posts: 7

I am working on a web app that will encrypt & ftp a .wav file to a third party. They want to be able to right click on the file, select "decrypt" and have the decrypted file appear in the folder next to the encrypted file. Right now, whene I attempt to do that on a file encrypted with sbb, I get the "for your eyes" message and a "secure" box showing the file type.

I've read the information for ElPGPReader.OnCreateOutputStream, and it does not apply since sbb is not doing the reading, only the writing.

My encryption code:
private bool Encrypt(Stream inf, Stream outf)
{
TElPGPWriter writer = new TElPGPWriter();
try
{
writer.EncryptingKeys = publicKey;
writer.UseNewFeatures = true;
writer.UseOldPackets = false;
writer.InputIsText = false;
writer.EncryptionType = SBPGP.TSBPGPEncryptionType.etPublicKey;
writer.Timestamp = DateTime.Now;
writer.Encrypt(inf, outf, 0);
}
catch (Exception ex)
{
errormsg = ex.Message;
return false;
}
return true;
}

#2947
Posted: 05/17/2007 23:33:26
by Eugene Mayevski (Team)

Please do the search on the site and you will get the answer from the knowledgebase.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2044 times

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




|

Back to top

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

Got it!