Skip to content

Instantly share code, notes, and snippets.

View hpherzog's full-sized avatar

Hans-Peter Herzog hpherzog

  • Ludwigshafen, Germany
View GitHub Profile
@hpherzog
hpherzog / self-signed-certificate-with-custom-ca.md
Created August 29, 2018 22:17 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@hpherzog
hpherzog / 0_reuse_code.js
Created January 4, 2017 14:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@hpherzog
hpherzog / js-crypto-libraries.md
Created January 7, 2016 15:49 — 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.