packages/cafeteria/plugins/cordova-plugin-secure-storage/www/sjcl_ss.js
function (str) {
    str = unescape(encodeURIComponent(str));
    var out = [], i, tmp=0;
    for (i=0; i<str.length; i++) {
      tmp = tmp << 8 | str.charCodeAt(i);
      if ((i&3) === 3) {
        out.push(tmp);
        tmp = 0;
      }
    }
    if (i&3) {
      out.push(sjcl.bitArray.partial(8*(i&3), tmp));
    }
    return out;
  }
function (str) {
    str = unescape(encodeURIComponent(str));
    var out = [], i, tmp=0;
    for (i=0; i<str.length; i++) {
      tmp = tmp << 8 | str.charCodeAt(i);
      if ((i&3) === 3) {
        out.push(tmp);
        tmp = 0;
      }
    }
    if (i&3) {
      out.push(sjcl.bitArray.partial(8*(i&3), tmp));
    }
    return out;
  }
function ( str ) { str = unescape ( encodeURIComponent ( str ) ) ; var out = [ ] , i , tmp = 0 ; for ( i = 0 ; i < str . length ; i ++ ) { tmp = tmp << 8 | str . charCodeAt ( i ) ; if ( ( i & 3 ) === 3 ) { out . push ( tmp ) ; tmp = 0 ; } } if ( i & 3 ) { out . push ( sjcl . bitArray . partial ( 8 * ( i & 3 ) , tmp ) ) ; } return out ; }
Convert from a UTF-8 string to a bitArray.
Convert from a UTF - 8 string to a bitArray .