Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gbarcomu/hashcompressor

Compressor that fits a hash encoded in bs58 into a bytes32 variable
https://github.com/gbarcomu/hashcompressor

compression ethereum hash ipfs solidity

Last synced: about 8 hours ago
JSON representation

Compressor that fits a hash encoded in bs58 into a bytes32 variable

Awesome Lists containing this project

README

        

# Description
Compressor that fits a hash encoded in bs58 into a bytes32 variable

# Usage

```javascript
compressHash("QmWfQMo49F4YB3H9pCDJsT777TBJdRWYd4oAh2mnvh5jqi");
decompressHash("0x7bab4e11a5211406160bd18ef4136d0e828288394381fabb9a2f85a5d646dc71")
```