native code in swift. this code is dummy.
class nativeSwift
{
     String GetHash(String data)
     {
          String getSalt = Javascript::getAppSalt(); // call javascript function from swift
          String data = data + getSalt;
          String hash = md5(data);
          return hash;
     }
}