Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ihumaunkabir authored Oct 19, 2024
1 parent 4534389 commit 4732b2f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# go-hash
## go-hash
A golang module to generate/compare hash from/with text.

### Installation
#### Installation
```go
go get github.com/ihumaunkabir/go-hash
```

### Import
#### Import
```go
import "github.com/ihumaunkabir/go-hash"
```

### Usage

#### Usage
Generate hash from plain text
```go
generatedHash, err := hash.GenerateHashFromText("text")

```
Compare hash and plain text
```go
err := hash.CompareHashAndText("hash", "text")

```


0 comments on commit 4732b2f

Please sign in to comment.