Skip to content

Instantly share code, notes, and snippets.

NssY nssy

Block or report user

Report or block nssy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nssy / pow_to_diff.js
Last active Mar 1, 2019
Check difficulty from pow hash (Monero v8)
View pow_to_diff.js
node depanancies:
npm install bignum
var bignum = require('bignum');
// This is what miner submits
var powHash;
nssy / hash-creator.php
Last active Aug 29, 2015
Hash Creator (PHP)
View hash-creator.php
$string = isset($_POST['string']) ? $_POST['string'] : null;
$selected_algo = isset($_POST['algo']) ? $_POST['algo'] : null;
if (!empty($string) && !empty($selected_algo ))
if (in_array($selected_algo, hash_algos())) {
echo 'The ',$selected_algo, ' for ( <b>', $string, '</b> ) is => ', hash($selected_algo, $string, false);
} else {
You can’t perform that action at this time.