Skip to content

defi-wirun/blockchain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain & Smart Contract

Website

MetaMask Wallet

Block Explorer

Testnet Faucet

Hyperledger Besu

Visual Studio Code & Extensions

Windows Terminal and Package Manager

Follow me

Hash Script - Google Sheet

function hash(input) {
  var rawHash = Utilities.computeDigest(Utilities.DigestAlgorithm.SHA_1,input);
  var txtHash = '';
  for (j = 0; j < rawHash.length; j ++){
    var hashVal = rawHash[j];
    if (hashVal<0)
      hashVal += 256;
    if (hashVal.toString(16).length == 1)
      txtHash +="0";
    txtHash += hashVal.toString(16);
    }
 return txtHash;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 50.6%
  • Shell 49.4%