I hereby claim:
- I am varunram on github.
- I am varunram (https://keybase.io/varunram) on keybase.
- I have a public key ASBP-cjIMEXMEtijawTvckY-7FGmK7-egXzzLRcn9OgDjQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "encoding/hex" | |
| "log" | |
| // "github.com/btcsuite/btcd/txscript" | |
| "github.com/btcsuite/btcd/chaincfg/chainhash" | |
| "github.com/btcsuite/btcd/wire" | |
| ) |
| package main | |
| import ( | |
| "encoding/json" | |
| "github.com/boltdb/bolt" | |
| "github.com/pkg/errors" | |
| "log" | |
| "strconv" | |
| ) |
| 2013/1.0.3 "console-browserify": "^1.1.0", | |
| 2015/0.2.7 "backbone-events-standalone": "^0.2.7",https://github.com/n1k0/backbone-events-standalone ARCHIVED | |
| 2015/1.0.0 "constants-browserify": "^1.0.0", https://github.com/juliangruber/constants-browserify | |
| 2015/1.0.1 "dns.js": "^1.0.1", https://github.com/indutny/dns.js | |
| 2015/1.10 "secrets.js-grempe": "^1.1.0", https://github.com/grempe/secrets.js/releases | |
| 2015/0.11.0 "url": "^0.10.3", https://github.com/defunctzombie/node-url/releases | |
| 2016/2.0.3 "inherits": "^2.0.3", https://github.com/isaacs/inherits | |
| 2016 "react-native-http": "tradle/react-native-http#834492d", https://github.com/iktw/react-native-http |
| // Tracking cursor position in real-time without JavaScript | |
| // Demo: https://twitter.com/davywtf/status/1124146339259002881 | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "strings" | |
| ) |
| Verifying my Blockstack ID is secured with the address 14W92fySsCqZYk84gRQu17HtKWdj11i8mk https://explorer.blockstack.org/address/14W92fySsCqZYk84gRQu17HtKWdj11i8mk |
| The sigantures in DLC need a pre-committed R point as well as pubkey point. | |
| Oracle pubkey = A, R | |
| value message = v | |
| signature = s | |
| (generator point G) | |
| Contract participants compute oracle point P | |
| P = sG = R - h(v, R)A |
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "fmt" | |
| "io" | |
| "log" | |
| ) |
| #!/bin/bash | |
| # call this script with an email address (valid or not). | |
| # like: | |
| # ./makecert.sh [email protected] | |
| mkdir certs | |
| rm certs/* | |
| echo "make server cert" | |
| openssl req -new -nodes -x509 -out certs/server.pem -keyout certs/server.key -days 3650 -subj "/C=DE/ST=NRW/L=Earth/O=Random Company/OU=IT/CN=www.random.com/emailAddress=$1" | |
| echo "make client cert" | |
| openssl req -new -nodes -x509 -out certs/client.pem -keyout certs/client.key -days 3650 -subj "/C=DE/ST=NRW/L=Earth/O=Random Company/OU=IT/CN=www.random.com/emailAddress=$1" |