<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div><br></div>Thanks & Regards,.<br>Saravanan V</div>
<br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 4:53 PM, Corinne Krych <span dir="ltr"><<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><br>
On 21 Feb 2014, at 10:42, Saravanan V <<a href="mailto:saru2020@gmail.com">saru2020@gmail.com</a>> wrote:<br>
<br>
> Hello Everyone,<br>
><br>
> I just viewed the AeroGear-Crypto-iOS Library here :<br>
> <a href="https://github.com/aerogear/aerogear-crypto-ios" target="_blank">https://github.com/aerogear/aerogear-crypto-ios</a><br>
><br>
> Can someone answer few of my questions:<br>
> * What is the Algorithm being used for Encryption/Decryption?<br>
<br>
</div>For symmetric we currently use common crypto and CBC mode (see <a href="http://aerogear.org/docs/guides/iOSCookbook/#crypto" target="_blank">http://aerogear.org/docs/guides/iOSCookbook/#crypto</a>)<br>
but we plan for the next release to go with NaCi lib (for a broader range of algorithms - GCM )<br>
<div class=""><br></div></blockquote><div><span style="background-color:rgb(0,255,255)">--> The GitHub sample does provide Asymmetric example. </span></div><div><span style="background-color:rgb(0,255,255)">So, what is the Algorithm used for Asymmetric ??</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">
> * What is the Key Length used? (Can we use 1024?)<br>
<br>
</div>not yet<br></blockquote><div><span style="background-color:rgb(0,255,255)">--> "<span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px">AGRandomGenerator" does provide an API to get random bytes. </span></span></div>
<div><span style="background-color:rgb(0,255,255)"><span style="line-height:inherit;font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;color:rgb(51,51,51)">[AGRandomGenerator randomBytes:<length>];</span> </span></div>
<div><br></div><div><span style="background-color:rgb(0,255,255)">So, does it mean that we could have the key in any size??</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><br>
> * What is the algorithm used for Digital Signature ?<br>
<br>
</div>coming soon<br>
I leave that one for our security @abstractj ;)<br>
<div class=""><br>
><br>
><br>
> Thanks & Regards,.<br>
> Saravanan V<br>
</div>> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br></div></div>