GithubHelp home page GithubHelp logo

miguelramosfdz / mobile-websocket-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cossacklabs/mobile-websocket-example

0.0 1.0 0.0 1.13 MB

Secure mobile websocket example - illustration for a blog post (iOS, Android, web, data messaging and storing protected by Themis)

Home Page: https://www.cossacklabs.com/building-secure-chat

Java 42.23% JavaScript 2.14% HTML 1.44% Ruby 7.29% Objective-C 46.90%

mobile-websocket-example's Introduction

Secure Mobile websocket example

This is a fork of elabs/mobile-websocket-example, showing how simple it is to integrate Themis crypto lib into socket-like communication and how to use it to protect stored data on your device.

Read a blog post detailing the process with lots of sequence diagrams and step-by-step tutorial: https://www.cossacklabs.com/building-secure-chat

sequence diagram with cat

Basically, you'll get server and 2 clients, that are communicating with each other and storing chat history in a very secure way.

Server

A simple websocket server written in Ruby.

To set up, run bundle install.

To start the server, run ruby server.rb

iOS

Open xcworkspace, build and run project to start chatting. Don't forget to start server to recieve messages :)

Or follow long guide.

iOS client is written in Obj-C. Supports iOS8-10, Xcode9.

Android

Android client written in Java. It's very simple to run it, but if you experience problems, please, follow this guide.

mobile-websocket-example's People

Contributors

ankor avatar ignatk avatar lagovas avatar sergeyzenchenko avatar shadinua avatar vixentael 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.