Giter Club home page Giter Club logo

client_side_crypto's Introduction

Thoughts

Minor quibble:
   WHY CAN'T I USE TLS/SSL TO DELIVER THE JAVASCRIPT
   CRYPTO CODE?

   You can. It's harder than it sounds, but you safely
   transmit Javascript crypto to a browser using SSL. The
   problem is, having established a secure channel with SSL,
   you no longer need Javascript cryptography; you have "real"
   cryptography. Meanwhile, the Javascript crypto code is still
   imperiled by other browser problems
I have only heard of one application
of JS crypto that made sense, but it wasn't
from a security perspective. A web firm processes
credit card numbers. For cost reasons, they wanted
to avoid PCI audits of their webservers,
but PCI required any server that handled
plaintext credit card numbers to be audited.
So, their webservers send a JS crypto app to the
browser client to encrypt the credit card number
with an RSA public key. The corresponding private key
is accessible only to the backend database. So based on the
wording of PCI, only the database server requires an audit.

Threads

Thread from 2014: https://news.ycombinator.com/item?id=7903720 2013: https://news.ycombinator.com/item?id=5123165 Discussed at the time: https://news.ycombinator.com/item?id=2935220 https://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/

Labs

http://hub.docker.com/r/bhattsameer/jsdebugginglab

Videos

Martin Boßlet: Javascript Crypto. Ugly duckling with good reason? -- JSConf EU 2013

https://youtu.be/NjMOSg5Pe44?si=nkzkMN21g5djyffw

client_side_crypto's People

Contributors

zeroc00i 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.