Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Using PGP with .net to encrypt text content

Reply
Thread Tools

Using PGP with .net to encrypt text content

 
 
nesster13@yahoo.com
Guest
Posts: n/a
 
      07-10-2006
Hi,

I have a window application written in C# that can generate a report in
..txt format. My question is does anybody know how I can use PGP to
encrypt the text inside this .txt file before saving it? In other word,
is there a way to pass the text to PGP software so that it can encrypt
the data using a function written in C# code? Thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TGVvbiBNYXluZQ==?=
Guest
Posts: n/a
 
      07-10-2006
> I have a window application written in C# that can generate a report in
> ..txt format. My question is does anybody know how I can use PGP to
> encrypt the text inside this .txt file before saving it? In other word,
> is there a way to pass the text to PGP software so that it can encrypt
> the data using a function written in C# code? Thanks


Probably best to use a third party tool such as:
http://www.eldos.com/sbb/net-pgp.php
(Note, I haven't used it so can't comment on how good it is)

Either that or you'd have to use the PGP command line tools and feed the
data in and read back the STDOUT.
 
Reply With Quote
 
 
 
 
Mike Lowery
Guest
Posts: n/a
 
      07-10-2006

<> wrote in message
news: oups.com...
> Hi,
>
> I have a window application written in C# that can generate a report in
> .txt format. My question is does anybody know how I can use PGP to
> encrypt the text inside this .txt file before saving it? In other word,
> is there a way to pass the text to PGP software so that it can encrypt
> the data using a function written in C# code? Thanks


Check out http://www.codeproject.com/csharp/gnupgdotnet.asp.


 
Reply With Quote
 
=?Utf-8?B?TGVvbiBNYXluZQ==?=
Guest
Posts: n/a
 
      07-10-2006
"Mike Lowery" wrote:
> Check out http://www.codeproject.com/csharp/gnupgdotnet.asp.


Good link! I think I might try that one myself.
 
Reply With Quote
 
nesster13@yahoo.com
Guest
Posts: n/a
 
      07-10-2006
Thanks Mike for pointing out the link. I have downloaded the demo .
However, the link said that I must have GnuPG for Windows installed in
order for it to work. Now I have followed the link and ended up here
http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ . There were so many
different links on the page that I dont really know what to
download/install. Do you have the direct link where I can download
GnuPG? thanks


Mike Lowery wrote:
> <> wrote in message
> news: oups.com...
> > Hi,
> >
> > I have a window application written in C# that can generate a report in
> > .txt format. My question is does anybody know how I can use PGP to
> > encrypt the text inside this .txt file before saving it? In other word,
> > is there a way to pass the text to PGP software so that it can encrypt
> > the data using a function written in C# code? Thanks

>
> Check out http://www.codeproject.com/csharp/gnupgdotnet.asp.


 
Reply With Quote
 
=?Utf-8?B?TGVvbiBNYXluZQ==?=
Guest
Posts: n/a
 
      07-11-2006
> Thanks Mike for pointing out the link. I have downloaded the demo .
> However, the link said that I must have GnuPG for Windows installed in
> order for it to work. Now I have followed the link and ended up here
> http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ . There were so many
> different links on the page that I dont really know what to
> download/install. Do you have the direct link where I can download
> GnuPG? thanks


You were in the wrong directory, I think you want:
http://mirrors.rootmode.com/ftp.gnup...2cli-1.4.4.exe
 
Reply With Quote
 
nesster13@yahoo.com
Guest
Posts: n/a
 
      07-11-2006
Thank you for the direct link. I will check it out.

Leon Mayne wrote:
> > Thanks Mike for pointing out the link. I have downloaded the demo .
> > However, the link said that I must have GnuPG for Windows installed in
> > order for it to work. Now I have followed the link and ended up here
> > http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ . There were so many
> > different links on the page that I dont really know what to
> > download/install. Do you have the direct link where I can download
> > GnuPG? thanks

>
> You were in the wrong directory, I think you want:
> http://mirrors.rootmode.com/ftp.gnup...2cli-1.4.4.exe


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
encrypt .aspx file content Loane Sharp ASP .Net Security 4 12-30-2004 01:55 AM
Can we encrypt our querystring so that content is not misused .NET Follower ASP .Net 4 01-30-2004 04:37 AM
Examples of using Bouncy Castle to decrypt PGP files Apollo Java 0 11-29-2003 02:12 AM
Encrypt in Perl, De-encrypt in Javascript http://ejobseek.com Perl Misc 3 09-01-2003 07:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57