<html><head></head><body bgcolor="#FFFFFF"><div>To give a good answer, I think we need a bit more info about what you're trying to do. Is the data that you're encrypting only stored on the server? Is it specific to individual users and only accessed when the "owner" is accessing the server, or is the data needed by the server for processing at arbitrary points in time? How much data is being encrypted? Who are you trying to secure the data from? Others accessing the system? Back office staff? System administrators?</div><div><br></div><div>Knowing a bit more will make it easier to help :)</div><div><br></div><div>Cheers,</div><div><br></div><div>Steve<br><br>Sent from my iPad</div><div><br>On 30 Oct 2011, at 16:58, Kristen Eisenberg <<a href="mailto:kristen.eisenberg@yahoo.com">kristen.eisenberg@yahoo.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>This is a bit more of a general question than Erlang specific but I hope someone here can answer this, or simply point me to a place where it has already been answered.<br>I'm writing a server in which I will be storing encrypted user data (unlike Sony). My problem is probably a product of zero experience with encryption combined with a lack of sleep, but I can't figure out how to do this securely. By that I mean I understand how to use crypto to encrypt/decrypt a piece of data but the Key and the Ivec have to be the same for both the encryption and decryption otherwise it doesn't work...so how do I make this happen without storing those two things "out in the open?" It seems like that can't be the optimal solution since anyone who could just grab those and decrypt the data. Am I missing something completely
obvious?<br>Chris Hicks.</div><div><br></div><div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Kristen Eisenberg</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Billige Flüge</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Marketing GmbH</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Emanuelstr. 3,</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">10317 Berlin</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Deutschland</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Telefon: +49 (33)</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">5310967</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Email:</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">utebachmeier at</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE"><a href="http://gmail.com">gmail.com</a></span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE">Site:</span></div>
<div class="MsoNormal"><span lang="DE" style="mso-ansi-language:DE"><a href="http://flug.airego.de">http://flug.airego.de</a>
- Billige Flüge vergleichen</span></div></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>