src/main/Node.java
public String calculateHash(int nonce, String seedNodeID, int index) {
        String calculatedhash = StringUtil.applySha256( 
                seedNodeID +
                Integer.toString(index) +
                Integer.toString(nonce)
                );
        return calculatedhash;
    }
// Creates a String hash of all the variables of the node
Creates a String hash of all the variables of the node
Creates a String hash of all the variables of the node
public String calculateHash(int nonce, String seedNodeID, int index) {
        String calculatedhash = StringUtil.applySha256( 
                seedNodeID +
                Integer.toString(index) +
                Integer.toString(nonce)
                );
        return calculatedhash;
    }
public String calculateHash ( int nonce , String seedNodeID , int index ) { String calculatedhash = StringUtil . applySha256 ( seedNodeID + Integer . toString ( index ) + Integer . toString ( nonce ) ) ; return calculatedhash ; }
Creates a String hash of all the variables of the node
Creates a String hash of all the variables of the node