<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div><br></div>Thanks &amp; 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">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>&gt;</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 &lt;<a href="mailto:saru2020@gmail.com">saru2020@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello Everyone,<br>
&gt;<br>
&gt; I just viewed the AeroGear-Crypto-iOS Library here :<br>
&gt; <a href="https://github.com/aerogear/aerogear-crypto-ios" target="_blank">https://github.com/aerogear/aerogear-crypto-ios</a><br>
&gt;<br>
&gt; Can someone answer few of my questions:<br>
&gt; * 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)">--&gt; 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="">
&gt; * 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)">--&gt; &quot;<span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px">AGRandomGenerator&quot; 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,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;color:rgb(51,51,51)">[AGRandomGenerator randomBytes:&lt;length&gt;];</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>
&gt; * 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>
&gt;<br>
&gt;<br>
&gt; Thanks &amp; Regards,.<br>
&gt; Saravanan V<br>
</div>&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <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>