Software components for data protection, secure storage and transfer
SBPGP.TElPGPWriter pgpWriter =new SBPGP.TElPGPWriter();
System.IO.FileStream inF, outF;
pgpWriter.SFXEnabled = true;
pgpWriter.StubSource = SBPGP.TSBPGPStubSource.ssResource;
pgpWriter.StubName = "TestSet.PGP:CONSOLE";
pgpWriter.CompressionAlgorithm = SBPGPConstants.Unit.SB_PGP_ALGORITHM_CM_ZLIB;
pgpWriter.CompressionLevel = 9;
pgpWriter.EncryptionType = SBPGP.TSBPGPEncryptionType.etPassphrase;
pgpWriter.SymmetricKeyAlgorithm = SBPGPConstants.Unit.SB_PGP_ALGORITHM_SK_CAST5;
pgpWriter.Timestamp = DateTime.Now;
inF = new System.IO.FileStream(txtFile.Text, FileMode.Open);
outF = new System.IO.FileStream(txtFile.Text+".pgp", FileMode.Create);
pgpWriter.Encrypt(inF, outF, 0);
Copyright (c) 2017, /n software, Inc.
As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.