GithubHelp home page GithubHelp logo

5l1v3r1 / tweetentropy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x0rz/tweetentropy

0.0 1.0 0.0 16 KB

Twitter as an extra entropy source

Home Page: https://blog.0day.rocks/introducing-the-first-ever-shitpost-based-rng-c5422bfce257

License: GNU General Public License v3.0

Python 100.00%

tweetentropy's Introduction

Twitter Entropy Collector

Twitter is a great noise source: Russian bots, Trump rants, human interactions, malware traffic and so on. (Almost) random and unpredictable content. This tool provides an extra entropy source (to be used on Linux) from the Twitter random sample feed.

Twitter noise

Twitter noise visualization

Installation

First, update your API keys in the secrets.py file. To get API keys go to https://apps.twitter.com/

The script should work fine using Python2 or Python3.

You will need the following python packages installed: tweepy & hexdump.

pip install -r requirements.txt

Usage

# ./tweetentro.py

Caveats

⚠️ Do not use this for sensitive cryptographic operations! We can safely assume there will be repeating occurrences in the data (trending hashtags, links, ...), it isn't true random. Entropy is around 6.5 bits per byte. Only use this as an extra source of entropy if you wish.

License

GNU GPLv3

If this tool has been useful for you, feel free to thank me by buying me a coffee

Coffee

tweetentropy's People

Contributors

suboptimal avatar x0rz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.