Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gbarcomu/hashcompressor
- Owner: gbarcomu
- Created: 2018-06-18T12:19:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T12:46:14.000Z (over 6 years ago)
- Last Synced: 2025-01-31T02:42:35.618Z (5 days ago)
- Topics: compression, ethereum, hash, ipfs, solidity
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")
```