encryption

RSA encryption or ms access Database file in c#

i hav a pbm i wanna encrypt mdb file using RSA i did but ven i do decryption and open decrypted database file it asks me for a database password .why? my ms access has no password before encryption plz help.................am using C# language. 2008 vs and ms access 2006 ...

What are the general ideas of decrypting a cipher?

I am trying to improve my skills in encryption and decryption, put there are too many ways to encryption, what ideas are common in this subject, are there any books that talk about that? thanks alot. ...

Encrypt request from iPhone to web app?

We have the following: iPhone native app, with login form that posts to: A php script on remote web server which checks against MySQL user table. For security, would it be best practice to use some two-way encryption to encrypt every request? including this initial login? otherwise the user and pass will simple be passed to the web a...

encryption vs digest

what is the different between encryption and digest? i don't understand their difference. ...

Secure information contained on iPhone SQLite DB

I am working on an iPhone app that uses CoreData(with SQLite) to stores some sensitive biographical data that is downloaded via a Restful Web Services for offline use in the device. I am worried that the competition could pay a subscription and extract the .sql file via SSH with a jailbroken device, and make copies of the data that has...

howto encrypt passwords in configuration files, grails [and java]

I am looking for a step-by-step how to on securing passwords put in configuration files, in grails. This means securing passwords in Config.groovy and DataSource.groovy. There are a lot of google results that contains bits and pieces of the answer, but no concise guides on how to do this. Can someone please point me in the right direc...

If you have SSL turned on, does it really make sense to encrypt your user credentials?

I am trying to optimize some performance here and I would like to take the encryption out. ...

How can you encrypt users' data server-side without ruining the experience?

Many users – myself included – would like the security of having everything they do on a web service encrypted. That is, they don't won't any one at the web service to be able to look at their: posts, info, tasks, etc... This is also major complaint in this discussion of an otherwise cool service: http://news.ycombinator.com/item?id=154...

cache lite / memcache

i have a function that build query depending on which page user is at, by parameter array value, once it build the query, then it returns, so we can execute it and get the desire result we want. well we need to put cache on it, so we can speed up things and im really confuse on how to make cache id, sence the query is kind of dynamic ...

Why does the Kerberos protocol not feature perfect forward secrecy?

Why does the Kerberos protocol not feature perfect forward secrecy? ...

Encryption: How to turn an 8 character string into a 128-bit key, 256-bit key, etc?

I tried to research this, but there were still some questions left unanswered. I was looking into figuring out how an 8 character password gets turned into a high-bit encryption key. During my research I found articles that would talk about the salt value. Assume you could get all 256 characters to play with, then an 8-character passwor...

Using Rijndael encryption for large files

Hi there! I'm in a situation where I need to encrypt / decrypt a file of n length securely, ideally using Rijndael, but definitely at 256bit encryption. I've played around with encryption before and have encrypted/decrypted strings and byte arrays quite happily. However, because I don't know the size of the file (and it's very feasible...

Is it possible to add a "Master" password for an encrypt/decrypt program?

Hi! I've written an encryption program that encrypts and decrypts selected files using a user-entered password as the encryption key. Once en/decrypted, the user will be asked if they want to delete the file that was used, and, in the case of decryption, open the newly decrypted file. My brother came up with an idea for this applicati...

Calculation of encrypted file size does not match true size.

I have the need to calculate the size of a file I am encrypting using Rijndael. According to other answers on this site, and on google, the following is the correct way of calculating encrypted data length: EL = UL + (BS - (UL Mod BS) Mod BS) Where: EL = Encrypted Length UL = Unencrypted Length BS = Block Size In my instance, the u...

How can I store music on an android phone without allowing the user to be able to download it and use it?

Hello, I am working on an app that connects to a media providing site and downloads mp3 files to the user phone. I would like for the user to be unable to copy these files off the phone but only listen to them through my app. I am currently trying to encrypt the files using DES and encryption and decrypt and play the file in bits in th...

Safely Storing Biometric Information for Comparison

I'm using a biometric fingerprint scanner with an SDK that allows me to compare two images of a fingerprint. My question is if I wanted to locally store one of the images for later comparison what is the safest way to do this? My line of thinking is that when doing the same thing with passwords, an easy safe way would be to hash the or...

$_GET Variables - How to ensure privacy?

I've written a licensing script for some modifications I release freely, and part of my terms and conditions states that upon installation the modification will send the following information for storing in my database:- Domain Name where the mod is installed Email address of the site owner Modification name Modification version number ...

.NET AES/Rijndael — inconsistent decryption when reusing decryptor

I've created a class for encrypting and decrypting using AES. public class AesEncryptionProvider { #region Fields // Encryption key private static readonly byte[] s_key = new byte[32] { // Omitted... }; // Initialization vector private static readonly byte[] s_iv = new byte[16] { // Omitted... ...

Write Serialized XML String to XML File

I have a decrypted XML string which was sent over the wire to the receiving box where my code resides. Now, I want to write this XML string to an XML file. Here's the Decrypt method which my code calls to generate this XML string... maybe this needs to be changed? [Update]: My problem is that I can't see a way to write/create an XML f...

SQL - Encrypt a Column of Data

Hello All, What DataType should be a column to stored Encypted Data? Can we have varchar instead varbinary => does there will have any odd consequences if we use varchar Thanks ...