Re: Encryption

2013-03-22 Thread Corneliu I. Tusnea
Greg, Depending on the target app there are various tools. Given that this list is about .Net I'd assume everyone would code around .Net so the most obvious one would be Reflector (or any of the preferred competitors). Second try would be ILDasm. Then someone will try to apply an "obfuscator" but

RE: Encryption

2013-03-22 Thread Ian Thomas
A bit off-topic for the oddball case that you're describing, Stephen - but there is a (commercial) cryptograph software licensing .NET library available from LogicNP Software that discusses how that needs to be set up, and they have a

Re: Encryption

2013-03-21 Thread Greg Keogh
> > Unfortunately that raised the question of "Ok, so now where do we store > our key in the app, so that no one can pull it out and use it, except for > the app." > No hope! If you distribute secret keys with the apps they can be found easily and you declare yourself an amateur. A friend of mine

Re: Encryption

2013-03-21 Thread Corneliu I. Tusnea
Stephen, Except using DAPI (which you know the "issues") you are pretty much in a situation where any solution you pick can be reverse engineered by someone with enough access level. The "next best" way of doing it is to encrypt using a X.509 certificate. Generate a certificate with a private key

Re: Encryption

2013-03-21 Thread mike smith
On Fri, Mar 22, 2013 at 2:56 PM, Stephen Price wrote: > Thanks all. I found the CryptoStream class and an example of its use... > Unfortunately that raised the question of "Ok, so now where do we store our > key in the app, so that no one can pull it out and use it, except for the > app." > That'

Re: Encryption

2013-03-21 Thread Stephen Price
Thanks all. I found the CryptoStream class and an example of its use... Unfortunately that raised the question of "Ok, so now where do we store our key in the app, so that no one can pull it out and use it, except for the app." At which point the answer was, why didn't you research this before sugg

RE: Encryption

2013-03-21 Thread Williams, Thomas
An oldy but a goody - http://www.codeproject.com/Articles/10154/NET-Encryption-Simplified Thomas From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Stephen Price Sent: Friday, 22 March 2013 1:06 PM To: ozDotNet Subject: Encryption Hey all, http://msdn.mic

RE: Encryption

2013-03-21 Thread Jason Roberts
Hi, yeah sounds like a key to the encryption / decryption is probably what you want assuming there are multiple boxes and/or you want option to scale out. I think you can just use the stuff in the Cryptography namespace. Just bear in mind that securing the keys will be important. But it would b

RE: Encryption

2013-03-21 Thread ifumust
Is this the sort of thing you after? Anthony 'The function used to encrypt the text Private Shared Function Encrypt(ByVal strText As String, ByVal strEncrKey As String) As String Dim byKey() As Byte = {} Dim IV() As Byte = {&H12, &H34, &H56, &H78, &H90, &HAB, &HCD