Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Encryption Key Question |
|---|---|
| Date: | Fri, 25 Feb 2005 17:57:17 -0700 |
I have a situation which seems to be an endless loop but maybe someone out here can help me. I'm using SHA-256 has my hash function and AES as the encryption method. I have a byte array of data and a string that is the passphrase (currently the string is 306 characters long). I hash the passphrase and use it to encrypt the data. Since I'm writing this as part of an application I want to hardcode the passphrase into the application, however as a string it would be fairly simple to find it in the complied code. Here's my question: What is the best method of storing this passphrase internally in the application such that it would be as secure as possible? Unrelated Question: Is there any security hole in using the data as the key? (other than it makes it hard/impossible to get it back out) Thanks -- David B Heise [dheise@gmail.com] http://students.cs.byu.edu/~dheise
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: tool to log file access, H Carvey |
|---|---|
| Next by Date: | Domain Name Dispute Resolution - Experiences?, Mark Spencer |
| Previous by Thread: | implementing a secure link, Tahis Vera |
| Next by Thread: | RE: Encryption Key Question, David Gillett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |