Skip to content

Instantly share code, notes, and snippets.

@jo
jo / js-crypto-libraries.md
Last active July 11, 2024 17:44
List of JavaScript Crypto libraries.

JavaScript Crypto Libraries

List some crypto libraries for JavaScript out there. Might be a bit out dated. Scroll to the bottom.

WebCryptoAPI

http://www.w3.org/TR/WebCryptoAPI/

This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.

@justinribeiro
justinribeiro / glass_wsh.py
Created March 20, 2014 17:21
Simple pywebsocket setup for listening to MQTT broker.
_OPEN_ = 1
_CLOSING_ = 2
_CLOSE_ = 3
_status_ = _CONNECTING_
# broker information for mqtt
_BROKER_URL = "localhost"
_BROKER_PORT = 1883
_TOPIC_BASE = "justin/glass"