<div dir="ltr">Sorry disregard the message </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 8, 2013 at 3:31 PM, Tejas Nadkarni <span dir="ltr"><<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FYI - I just did a git pull and make. I'm getting 400 Bad Request for everything now - for definitely valid stuff. <div>
<br></div><div>I haven't made changes recently so might be some of the stuff Luis did.</div>
<div><br></div><div>Luis when you have a chance can you take a look? </div><div><br></div><div>Thanks,</div><div>Tejas</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Dec 8, 2013 at 2:13 PM, Jan Schaumann <span dir="ltr"><<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>lbustama <<a href="mailto:lbustama@stevens.edu" target="_blank">lbustama@stevens.edu</a>> wrote:<br>
<br>
> With my current implementation, the user has to provide the salt both<br>
> when encrypting and decrypting.<br>
><br>
> Would it make sense to store the salt with he encrypted output? and is<br>
> it required?<br>
<br>
</div>Yes and no.<br>
<br>
Storing the sal with the encrypted output is reasonable and commonly<br>
done. The drawback is that this requires you to define a specific<br>
format (even if the format is only "the first N bytes are the salt"),<br>
which means that the tool wouldn't be compatible with other tools not<br>
implementing this specific format.<br>
<br>
You may choose to see how openssl(1) does this and consider using the<br>
same format, so that your tool can decrypt data encrypted via<br>
<br>
openssl enc -aes-256-cbc -in file -out file.enc -S CAFEFACEDEADBEEF<br>
./aed -d <file.enc<br>
<br>
However, doing this is not required.<br>
<span><font color="#888888"><br>
-Jan<br>
</font></span><div><div>_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>