<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Hi,</p>
<p>I am interested in your crypto API specially on iOS and via the cordova plugin.</p>
<p>The docs at</p>
<p>https://aerogear.org/docs/specs/aerogear-crypto/</p>
<p>clearly state that on iOS the GCM mode for symmetric AES encryption is not supported (because iOS CommonCrypto itself does not provide it as a public interface)</p>
<p>And reading the latest code in the corresponding cordova plugin tells me the same.</p>
<p>Nevertheless, the docs of the cordova plugin at</p>
<p>https://aerogear.org/docs/specs/aerogear-cordova/AeroGear.Crypto.html</p>
<p>and</p>
<p>https://github.com/edewit/aerogear-crypto-cordova/blob/master/README.md</p>
<p>state the contrary: it seemslike GCM is supported both on iOS and android.</p>
<p>So my 2 questions are:</p>
<p>- Is GCM mode for AES encryption supported on iOS aerogear crypto module (and the cordova plugin) ? (my bet is no)</p>
<p>- If not, how difficult would it be to use the private API in iOS CommonCrypto ? I didnt try it myself, i have just been reading the code....</p>
<p>Thanks in advance :)</p>
<p>Niko</p>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</body></html>