1 Reply Latest reply on Sep 20, 2013 1:57 PM by emerasoft.srl

    Encrypted Local Store not working on Mac

    arunvirsingh123

      Hi All,

       

      I have an extension for InDesign where I am storing data using Encrypted Local Store(ELS) as below:-

       

      var strToStore("ABC");

      var bytes:ByteArray = new ByteArray();

      bytes.writeUTFBytes(strToStore);

      EncryptedLocalStore.setItem("storeKey", bytes);

       

      I retreive this value as below:-

       

      var storedValue:ByteArray = EncryptedLocalStore.getItem("storeKey");

       

      The value in storedValue is retreived successfully on Windows but on Mac storedValue gets null value.

       

      Can someone help where I am wrong or is there some other way of doing it  on mac ?