Giter Club home page Giter Club logo

pkc's Introduction

Public key cryptography in your browser!

Thanks to Web Cryptography API, you can use private key crypto right in your browser.

This set of pages lets you exchange private information with your friend using encrypted messages using only public channels (like, agreeing on meeting in some place on IRC). Codewise, this is mostly a compilation of few first examples from webcrypto examples repo.

To SEND message to someone

  1. Ask them to:

    • open generate.html
    • click "Generate" button
    • save private key (red area) for step 6
    • send you the public key (green area)
  2. Open encrypt.html

  3. Paste the public key into green area

  4. Enter your message into yellow box

  5. Click "Encrypt" button

  6. Send the encrypted message (blue area) to recipient and ask them to:

    • open decrypt.html
    • paste private key from step 1 into red area
    • paste encrypted message into blue area
    • click "Decrypt" button

To RECEIVE message from someone

  1. Open generate.html

  2. Click "Generate" button

  3. Save private key (red area) for step 6 (or, just keep this page open)

  4. Send the public key (green area) to sender and ask them to:

    • open encrypt.html
    • paste the public key into green area
    • enter the message into yellow box
    • click "Encrypt" button
    • send you the encrypted message (blue area)
  5. Open decrypt.html

  6. Paste private key from step 3 into red area

  7. Paste encrypted message into blue area

  8. Click "Decrypt" button

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.