Comments (1)
I guess you are thinking about encryption. If it's possible for your webpages to decrypt the data, it probably means that there is enough information on the client side to decrypt it, so there is probably little purpose for this... If that's what you're looking for.
In any case, there are already good libraries out there for this: http://code.google.com/p/crypto-js/ comes to mind first. It can encrypt anything given current state-of-the-art algorithms. I suggest you process the output of lz-string with the CryptoJS algo that suit your need.
The purpose of lz-string is to compress and store efficiently. It's far from perfect on that front, so I'll focus on that for now.
from lz-string.
Related Issues (20)
- Please publish package version with MIT license HOT 1
- decompression for some uint8 data fails in browser, but succeeds in node HOT 5
- Can you provide a demo for string-to-string decompression? HOT 6
- Specific string seems to break algorithm HOT 3
- Linked blog site is blank HOT 1
- how to setup a compressUTF8() variant HOT 10
- Add Rust HOT 2
- Confused about compatibility between browser and server versions HOT 3
- [QUESTION]: is the output of compressToUint8Array a valid .lz file? HOT 1
- For people looking to store large amounts of data on localStorage this library is quite nice:
- Newbie question: How would I go about downloading / uploading a file? HOT 2
- Does `compressToUint8Array()` output smaller than `compress()` ? HOT 1
- Quotes in the compressed string HOT 3
- Implement IRI Encoding HOT 1
- Bug: can not decompress for some compressed string HOT 4
- Crash with large strings when running on Hermes (React Native)
- Is there a way to allow custom dictionaries? HOT 9
- How to realize that only specified characters are allowed to appear in the compression result? HOT 1
- LZ-String port to current typescript HOT 9
- Tag for v1.5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lz-string.