Bitcoin related hash functions implemented for NodeJS and browsers via SJCL