Re: Encrypted email - is there a specific solution?

From: Framework fan (tempframeworkfan_at_hotmail.com)
Date: 04/12/04


Date: 12 Apr 2004 10:29:42 -0700

Thank you.

If System.Web.Mail.MailMsg.Body takes a string, and I have an array of
bytes that I would like to encode in base64, what is the syntax to
assign the byte array to the mailmsg body please?

"Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in message news:<uZRWIx7HEHA.3536@TK2MSFTNGP09.phx.gbl>...
> If its just sending mail to yourself, then an asymetric method (like RSA you
> suggested below) would be ideal. Given that only you have the private key
> (and of course the shared server has the public key), then you can encrypt
> the data and either send it to yourself as an attachment or base64 encode it
> and simple place it in the body of your email.
>
> Either way its quite secure. If you need to start sending to others apart
> fro yourself, thats where it can get a bit trickier.
>
> --
> - Paul Glavich
> Microsoft MVP - ASP.NET
>
>
> "Framework fan" <tempframeworkfan@hotmail.com> wrote in message
> news:f109ac80.0404100028.5c1f4b9d@posting.google.com...
> > Hello,
> >
> > Can encrpyted email be sent from an ASP.NET application?
> >
> > I'm just looking to encrypt a small key, then send it from a shared
> > server to myself, but I'd like the data encrypted for safety before
> > being sent to me.
> >
> > (Or should I just use RSA asymmetric encryption, and keep the private
> > key only on my machine?)
> >
> > Thanks,
> >
> > -Frameworker.



Relevant Pages

  • Re: Base64 strange problem
    ... I'm using Base64 to encode the byte array in javascript, ... base64 decoder in the servlet to decode it. ... the decoded byte array is shorter then the original one. ... The encoding in JavaScript is done using the webtoolkit.base64 encoder ...
    (comp.lang.javascript)
  • Encode the image of a texture with Base64
    ... Base64. ... encode it - or an array of byte. ... But Texture is not serializable - ... And how can I get an Array of byte of the image? ...
    (comp.lang.java.3d)
  • Re: Base64 encoding?
    ... Up came a great block of base64 encoded AlphaNumeric characters. ... what are the pros and cons of Base64 encoding? ... or it may just be lazy coding of the sending email ... client - encode everything in Base64 whether it needs it or not. ...
    (uk.people.silversurfers)
  • Re: rexml difficulties
    ... I give base64 encode a try. ... extract JPG images and store them as Base-64 encoded elements in an XML ... Would your process include using Base64? ...
    (comp.lang.ruby)
  • Re: What solaris apps convert text to/from base 64?
    ... :> It looks to me as if dtmail attachments are encoded in base64. ... :> to encode files into base 64? ... subsequent email readers, which are expecting base64. ...
    (comp.unix.solaris)