Skip to content

Instantly share code, notes, and snippets.

View diegoazh's full-sized avatar
😁
I may be slow to respond.

Diego A. Zapata Häntsch diegoazh

😁
I may be slow to respond.
View GitHub Profile
@diegoazh
diegoazh / api.js
Created November 11, 2018 22:47
Api client how a proxy between vue and loopback
// Creé esta clase para no tener que hacer un objeto `api-client` donde repitamos código de axios, ya que los verbos
// http siempre son los mismos, y lo único que cambia son los endpoints y los métodos utilizados después.
/* eslint-disable no-underscore-dangle */
import axios from 'axios';
import base from '../utils/uri-base';
class Api {
constructor() {
this._base = base;
@diegoazh
diegoazh / js-crypto-libraries.md
Created April 1, 2018 23:14 — forked from jo/js-crypto-libraries.md
List of JavaScript Crypto libraries.

JavaScript Crypto Libraries

I start with a list and plan to create a comparison table.

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.