table.csv#L9name:'sha2-256',code:0x12,encode:(input)=>newUint8Array(crypto.createHash('sha256').update(input).digest())})consthash=awaitsha256.digest(json.encode({hello:'world'}))CID.create(1,json.code,hash)//> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea...
base64, base64pad, base64url, base64urlpad multiformats/bases/base64 multiformats/js-multiformats base58btc, base58flick4 multiformats/bases/base58 multiformats/js-multiformats Other (less useful) bases implemented in multiformats/js-multiformats include: base2, base8, base10, base36 and base...