Skip to content

lacchain/hashing-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashing Service

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.

Prerequisites

  • Go 1.12+ installation or later
  • GOPATH environment variable is set correctly
  • docker version 17.03 or later

Package overview

  1. lib contains most of auxiliar code.
  2. model contains data models of requests and responses of APIs
  3. main.go exposes endpoints to consume the hashing service
  4. html contains the user interface

Install

$ git clone https://github.com/lacchain/hashing-service

$ export GO111MODULE=on

$ cd hashing-service
$ go build

Run

  • Run Hashing Service
./hashing-service start

Copyright 2020 LACChain

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.

About

Hashing service to hash any file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published