This is a Service that can hash any type of file, from applications to documents and media. Hashing a file results in a unique and irreversible identifier. If this identifier is registered in an immutable network, as a blockchain ledger, the owner of the file can prove at anytime afterwards that the file was not modified.
This hashing service signs the hash to guarantee that the file was hashed by itselft, and sends it to https://github.com/lacchain/credential-server to write it down in the LACChain blockchain network.
The Hashing Service and the Credential Service are being used for the notarizing tool named LACChain Notarizer, that you can use to register and verify the hash any file in the LACChain Blockchain Network for free. For any questions about the tool, you can also read the LACChain Notarizer FAQ.
- Go 1.12+ installation or later
- GOPATH environment variable is set correctly
- docker version 17.03 or later
- lib contains most of auxiliar code.
- model contains data models of requests and responses of APIs
- main.go exposes endpoints to consume the hashing service
- html contains the user interface
$ git clone https://github.com/lacchain/hashing-service
$ export GO111MODULE=on
$ cd hashing-service
$ go build
- Run Hashing Service
./hashing-service start
- After that, you can go to http://localhost:9000 and start to generate document hash credentials
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.