Hi All,
I've created an RSA key using:
RSA_generate_key(2048, RSA_F4, NULL, NULL);
Now I want to export the public key to another party B. Right now, I've just memcpy'd the entire RSA* struct and sent that over the wire, and B is able to use that to encrypt using RSA_public_encrypt().
But I think in this case I've actually exported t...
Hi,
I am wondering if there is a way to generate a key based on the relationship between two entities in a way that the key for relationship a->b is the same as the key for relationship b->a.
Desirably this would be a hash function which takes either relationship member but generates the same output regardless of the order the members ...
I've been using PHP's crypt() as a way to store and verify passwords in my database. I use hashing for other things, but crypt() for passwords. The documentation isn't that good and there seems to be a lot of debate. I'm using blowfish and two salts to crypt a password and store it in the database. Before I would store the salt and the e...
Can anyone give me an example for encrypt and decrypt an image using .net with asp.net
I want this encryption to the image when I save it into sql server as binary data.
...
Hi,
I installed SVN on a Ubuntu machine and I can't get my head around something.
Whenever I checkout something from the terminal I get this error about saving a non-encrypted password:
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<[...]> Subversion Rep...
There is a lot of discussion about todays fix for ASP.NET to prevent an attack that can be used to get the encryption keys from an application. In one discussion I read that it could also be used to make the WebResource.axd handler return any file in the application by forging the request parameters to point to a known file location (whe...
I've looking for a way to store a given AES key so that it can't be retrieved, but it can still be used for encryption and decryption (using C#). I think the equivalent for asymetric key storage can be found here, but I'm looking for something that can be used for symmetric encryption. Does it exist in a managed form (pre .Net 4)?
...
Can anyone recommend me a way to encode files of sensitive data so that no one can crack them? I will be the only who knows the password.
I am thinking of using GPG but I know next to nothing about security. Any suggestions which algorithm from GPG to use for encryption?
Thanks, Boda Cydo.
...
Possible Duplicates:
hide javascript from showing up in browser
How can I obfuscate JavaScript?
How to Hide/Encrypt Javascript(which is visible to client in his/her browser)
...
I got an annoying problem here I have no clue about how to solve...
A system writes encrypted data to files, some are serialized objects, others text (XML) files. The base class that does the decryption when needed initializes a Cipher with AES encryption, prepares a key (read from a file) and has to ways to access data:
A way to get a...
Possible Duplicates:
What is the best .NET obfuscator on the market?
Best .NET obfuscation tools/strategy
Hi there,
I'm ending my development of a small business application, using NET 4.0.
I would like to know which tool are you using to prevent your code to be decompiled/stolen.
I know that exists a few tools in the mar...
Hi there,
my current project requires to download data in a zip file wich i would like to unzip and store on the sd-card because it might be pretty big.
however my client want this data to not be accessable to the user.
What kind of encryption could i use, given that the zip contains images and textfiles?
Thanks for sharing your ideas.
...
Is it possible to encrypt a single value or must you encrypt entire sections?
I.e. Given the app.config below can how can I encrypt just the password. I've read articles on encrypting connection string sections and whole sections of app.config.
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="Interval" value="40000" />
<a...
Hi there!
Is there a possible way to find out the modulus and exponent of the Public Key, created with SecKeyGeneratePair (the Security Framework in general)?
...
I need to perform a 128-bit RC4 encryption, I'm using .NET and C#. Is there a built-in function to do this.
If not, I found this function that can do it:
public void RC4(ref Byte[] bytes, Byte[] key)
{
Byte[] s = new Byte[256];
Byte[] k = new Byte[256];
Byte temp;
int i, j;
for (i = 0; i < 256; i++)
{
s...
I'm trying to encrypt a custom section in a web.config file.
When I get to the line that calls ProtectSection(), I get an exception saying the provider isn't found.
Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);
ConfigurationSection section = config.GetSection("MySection");
section.Se...
I have been working on developing this analytical tool to help interpret and analyze a database that is bundled within the package. It is very important for us to secure the database in a way that can only be accessed with our software. What is the best way of achieving it in Python?
I am aware that there may not be a definitive soluti...
I'm new to implementing encryption and am still learning basics, it seems.
I have need for symmetric encryption capabilities in my open source codebase. There are three components to this system:
A server that stores some user data, and information about whether or not it is encrypted, and how
A C# client that lets a user encrypt the...
I know it may sound silly, but i worked for a client that seems not willing to pay me, but is making money with his website...i still have access to the ftp...so, i'm not going to tear down the website if he doesnt pay, but i would at least protect my code that i gave him...so in case i'm sure that he cant resell or use again...
...
I have a need of a function/library that can quickly encrypt an image on a low-powered device (cell phone, tablet, etc).
I need to provide a string which can act as a password to encrypt and decrypt the image file.
Ideally, I would like something that retains the image file format and just scrambles the pixels. I have tried prototyping...