Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/unixpickle/compression-solution

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/unixpickle/compression-solution

  • v0.0.0-20240529222443-e3b8c85c95af
  • Source
  • Go
  • Socket score

Version published
Created
Source

compression-solution

This is the solution to my compression challenge.

To produce the data used for the challenge, gunzip the files in inputs and run:

$ mkdir files
$ for i in {1..7}; do go run . encode -input inputs/file${i} -output files/file${i}; done

The way the challenge is setup is that the input files are encrypted with AES. The underlying files themselves are simple text patterns that are easy to compress, but compressing them is difficult unless you can decrypt them first.

The compression procedure first decrypts the file, then gzips the contents. The decompression procedure un-gzips the contents, and then re-encrypts it.

FAQs

Package last updated on 29 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc