hashing-service

command module
v0.0.0-...-7e43e80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

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

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Hashing Service version 0.9 author: Adrian Pareja Abarca email: adriancc5.5@gmail.com
Hashing Service version 0.9 author: Adrian Pareja Abarca email: adriancc5.5@gmail.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL