secure-ls

Secure localStorage data with encryption and compression

Reviews

Discussion

You need to become a Contributor to join the discussion - Find out how.
kushagra gour
kushagra gour@chinchang457 · A creative Human!
Neat! Though, how is the encryption secret key secured on the client?
Varun Malhotra
Varun MalhotraMaker@s0ftvar · Software Engineer, Wingify
@chinchang457 I agree that it's not completely secured and nothing can be fully secured if it's entirely on client side. But yes the secret key is 33 chars long, generated using PBKDF2 password key function. User will have to dig a little deeper to find it as it's not present in the source code directly.
Evan Sims
Evan Sims@evansims · Cofounder, Droveio
This is great! I was just writing localStorage support into a project last night and considering adding an encryption layer to it. Looks like I won't have to do that myself now, thanks!
Varun Malhotra
Varun MalhotraMaker@s0ftvar · Software Engineer, Wingify
@evansims Cool! Served the purpose of making it :)
Varun Malhotra
Varun MalhotraMaker@s0ftvar · Software Engineer, Wingify
Hi Hunters, secure-ls helps in securing localStorage data with high level of encryption and data compression. Some notable features: 1. Secure data with various types of encryption including AES, DES, Rabbit and RC4. (defaults to Base64 encoding). Secret-key, if not custom, is also secured using PBKDF2. 2. Compress data before storing it to localStorage to save extra bytes (defaults to true). 3. Advanced API wrapper over localStorage API, providing other basic utilities. 4. Save data in multiple keys inside localStorage and secure-ls will always remember it's creation.
Apoorv Saxena
Apoorv Saxena@apoorv_saxena · Co-Founder, PerfAudit
@s0ftvar great API implementation, very well documented as well.
Varun Malhotra
Varun MalhotraMaker@s0ftvar · Software Engineer, Wingify
@apoorv_saxena Glad you like it :)