Tag Info

New answers tagged

1

Experimentally, HttpUtility.HtmlAttributeEncode() does NOT replace apostrophes when using .NET framework 3.5 (and older). It does replace them with framework 4.5. So one has to assume that the behaviour changed; this can be seen by comparing the documentation for .NET 3.5: The HtmlAttributeEncode method converts only quotation marks ("), ampersands ...


1

No. You should generate a new key pair, distribute the public key securely. You need the secure distribution to establish trust that the public key is from the right party. You can then encrypt with the public key of the receiver.


0

You should rewrite the question using the correct terms of reference. Public is public and private is private. It looks like you want to enable secure (secret) transmission of data without pre-sharing a key. That's impossible. You can encrypt with a public key so only the private key holder can decrypt. You can sign with your private key and encrypt ...


-1

Restating your problem (as I understand it) but using less confusing terms, you want to administer an asymmetrical key pair such that you are the only person holding the encryption key and many people are holding the decryption key. Your concern is that with RSA, the encryption key can easily be produced by anyone who has the decryption key. This concern ...


1

In principle you could do something similar. But your naming convention is completely confusing. The private key is so called because it MUST BE KEPT PRIVATE. Whilst the public key is so called because it is given out freely to everyone. What you are asking is "is there a public key encryption scheme where the private key is used for encryption, and the ...



Top 50 recent answers are included