title: How to use WSSE in iOS with salted sha512 with more than 1 iteration
body: <p>I need some help with WSSE Header generations in iOS. The application it's written in Symfony2 which uses <strong>sha512</strong> algorithm with <strong>5000 iterations</strong> and <strong>encode_as_base64</strong> as true. For the mobile app, I found this question for encoding the password: <a href="https://stackoverflow.com/questions/18859005/sha512-with-salt-for-ios">SHA512 with salt for iOS</a> although it's only one iteration. Using a simple loop which includes the last one would suffice it?</p>
  
  <p>We found the code for the Android generation of the WSSE Headers: <a href="http://obtao.com/blog/2013/09/how-to-use-wsse-in-android-app/" rel="nofollow noreferrer">http://obtao.com/blog/2013/09/how-to-use-wsse-in-android-app/</a> It is possible to do the same thing in iOS or should we find another way for authentication, like OAuth2? </p>