HighTechTalks DotNet Forums  

How to use strong-name in encrypting/decrypting strings

Dotnet Security microsoft.public.dotnet.security


Discuss How to use strong-name in encrypting/decrypting strings in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
James White
 
Posts: n/a

Default How to use strong-name in encrypting/decrypting strings - 08-28-2007 , 10:25 AM






Hi,

I'd like to store an encrypted "license key" in my web.config (produced on
my computer), that can only be decrpted by my assembly no matter where it is
running. I think this fits with the "public key/private key" model and
specifically since I already sign my assembly with a strong-name, it would
seem like that would be a good source for the keys to encrypt/decrypt.
Oddly, I don't see anyone talking about how that might be done, so perhaps
it isn't a good idea. Has anyone used their strong-name to encrypt a string
on one machine, and use the assembly signature as the "public key" to
decrypt the string on another?

Thanks!

James


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.