This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su # Run the following commands as root | |
echo "deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic main | |
deb-src http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic main" > /etc/apt/sources.list.d/ethereum-bioinc.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2A518C819BE37D2C2031944D1C52189C923F6CA9 | |
apt-get update | |
apt-get install ethereum | |
# Taken from https://linuxconfig.org/ethereum-mining-on-ubuntu-18-04-and-debian | |
# GETH Manual does not explicitly mention Debian and Ubuntu method is failing https://geth.ethereum.org/docs/install-and-build/installing-geth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// var cryptoKey = raw SHA256 Hash | |
function decypherPayload(payload) { | |
/* inputs */ | |
var t = payload.split(","); | |
var C = t[0], | |
IV = t[1], | |
Hm = t[2]; | |