Skip to content
ybin - a private pastebin project.
JavaScript PHP CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.



Everybody has a right to privacy. ybin has been created with a simple idea in mind. It’s a simple pastebin where users can paste anything privately with a simple to use, purely minimalistic user interface and no complicated options.

The service based on this code can be accessed here.


ybin is based on the work of wonderful developer(s) behind an open-source encrypted pastebin project called ZeroBin. Most of the encryption algorithms used on ybin are taken directly from ZeroBin without modifications.


All data pasted through ybin is encrypted with AES256, which is borderline impossible to crack by bruteforcing. Check the following link to get a better idea. In short, exhausting half of the AES256 keyspace using resources we don’t yet have would take more time than the age of our beloved Universe.

Encryption is done solely on the client side, using an open-source sjcl JavaScript encryption library. When a paste is submitted, sjcl generates a random encryption key and encrypts pasted data with AES256 using that key. Then, it send the cipher to the server and redirects the paster to the paste page and appends the key to the URL, after the # symbol. Since everything is done on the client side, the data is only transmitted to the server in encrypted form (pure cipher), meaning both the original pasted data, and the generated key are completely private. The server only stores cipher data.


Let's take a look at the following link:

First of all, you can see that the key is aWImxYyjpqd62atEr1T9AP6rvHnO0vB1cvYvgifGmyM=, extracted from the URL. When you visit the link, you'll see the following pasted data:

Hello to zx readers from ybin!

But, the only data on the server of this paste is this:


Additional information

If you're interested in more details, including implemented privacy measures and safety information regarding the actual service, you can read it on my blog:

You can’t perform that action at this time.