Is there any equivalent or open-source library for decompress using LZ String in Ruby ?
Code in Python :
x = lzstring.LZString() decompress = x.decompressFromEncodedURIComponent("encrypted_data".decode('utf-8'))
Code in PHP :
LZCompressorLZString::decompressFromEncodedURIComponent("encrypted_data");
Advertisement
Answer
Is there any equivalent or open-source library for decompress using LZ String in Ruby ?
According to author of original (JavaScript) lz-string
Here is a Ruby version, by Altivi: