sha1hash

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sha1hash implements md5 hash algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SHA1

type SHA1 struct {
}

SHA1 is the base sha1 type.

func NewHash

func NewHash() (*SHA1, error)

NewHash returns new sha1 struct.

func (SHA1) Encode

func (s1 SHA1) Encode(imageURL string) (string, error)

Encode hashes url to sha1.

Jump to

Keyboard shortcuts

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