npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ciph-core

v0.2.1

Published

Ciph core libraries

Downloads

4

Readme

Ciph

Ciph is a social media platform that is designed to provide privacy, security, and data ownership for its users while being resistant to censorship.

Ciph allows users to share text documents, images, audio and video.

Ciph uses well established standard cryptographic algorithms like AES and SHA-2 to encrypt all data and then uses a unique distributed encryption algorithm based on one-time pad (OTP) cryptography to enhance privacy and resist censorship.

ALPHA Release

Ciph in an alpha release state. Many foundational aspects of the design are finalized and will not be changed unless major flaws are found.

To install for Windows see: doc/windows-install.md

To install for Ubuntu see: doc/ubuntu-install.md

For details on publishing content see: doc/publishing-guide.md

Distributed Encryption

With Ciph all files are encrypted and then split up into standard sized blocks before being published.

Every time a Ciph client publishes a block it takes a random existing block from the Ciph flatform and XORs the data block with the random block.

The client then publishes the XOR as a new block on the Ciph platform.

                            Ciph
                            ----

                             ||
                             \/

----------------       ----------------
|  Data Block  |  XOR  |  Rand Block  |
----------------       ----------------

                   ||
                   \/

            ----------------
            |   New Block  |
            ----------------

                   ||
                   \/

                  ----
                  Ciph

An XOR is a computer operation that produces the difference between two blocks of data.

By performing another XOR of the new block and the random block the original XOR can be reversed and the original data can be retrieved.

The Ciph platform never stores any actual user data. It only stores the difference between the user data and some other random data.

Because every block stored on the Ciph platform can be randomly used for multiple different other blocks no block belongs to any one user or file.

This design makes it impossible to trace data blocks to individual files which protects user privacy and makes censorship much more difficult.

Supported Media

The Ciph platform supports text, video, and audio content but does not support dynamic or interactive content.

The Ciph platform is specifically designed to prevent user monitoring, tracking and analytics.

Text Content

Text content on the Ciph platform is formatted using markdown.

Links to other Ciph content and embedded images, audio and video are allowed.

HTML, CSS, JavaScript, and links to regular web content are not allowed.

Video Content

Ciph supports h.264 video and AAC audio in mp4 containers and vp9 video and opus audio in webm containers.

Ciph uses MPEG-DASH and supports adaptive bitrate audio and vide.

Ciph does not currently support live streaming but future support is planned.

Ciph uses Google's Shaka Player with a custom network/data plugin that handles the request and decode of encrypted Ciph content.

Audio Content

Ciph supports audio in the MP3, AAC and FLAC formats.

Image Content

Ciph supports images in the GIF, JPG, PNG and WEBP formats

Media Collections

Ciph allows collections of content to be published together.

Types of media collections include:

  • Video and audio playlists
  • Photo albums
  • Collections of linked text pages
  • Text pages with embedded images, video and audio

Supported Devices/Browsers

Desktop

  • Web Browsers (Chrome, Firefox on Linux, Windows, Mac)
  • Native (Electron) apps planned

Mobile

  • Web Browsers (Chrome on Android)
  • Native apps planned

Unsupported Devices/Browsers

  • iOS Safari
  • IE, Edge