https://github.com/backendArchitect/gomd5hash
Hash generator / Creator in MD5 || Golang || Backend
https://github.com/backendArchitect/gomd5hash
generator go golang golang-examples hash hash-generator hashing md5 md5-hash md5sum
Last synced: 3 months ago
JSON representation
Hash generator / Creator in MD5 || Golang || Backend
- Host: GitHub
- URL: https://github.com/backendArchitect/gomd5hash
- Owner: backendArchitect
- License: mit
- Created: 2022-07-16T16:23:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T11:18:57.000Z (9 months ago)
- Last Synced: 2025-06-09T23:06:39.923Z (4 months ago)
- Topics: generator, go, golang, golang-examples, hash, hash-generator, hashing, md5, md5-hash, md5sum
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# md5-Hash
gomd5hash is a simple Golang package designed to make it easy to create MD5 hashes. It provides a straightforward function to generate MD5 hashes for any given input text.### Installation
To use gomd5hash, you need to have Golang installed on your machine. You can install the package using the following go get command:
```
go get github.com/backendArchitech/gomd5hash
```### Usage
Import the package in your Golang code:
```
import (
"fmt"
"github.com/backendArchitech/gomd5hash"
)
```---
To create an MD5 hash, use the CreateMd5Hash function:
```
text := "Hello, gomd5hash!"
hash := gomd5hash.CreateMd5Hash(text)
fmt.Println("MD5 Hash:", hash)
```---
### Example
Here is a simple example demonstrating how to use gomd5hash:```
package mainimport (
"fmt"
"github.com/yourusername/gomd5hash"
)func main() {
text := "Hello, gomd5hash!"
hash := gomd5hash.CreateMd5Hash(text)
fmt.Println("Input Text:", text)
fmt.Println("MD5 Hash:", hash)
}
```
Output:```
Input Text: Hello, gomd5hash!
MD5 Hash: 79054025255fb1a26e4bc422aef54eb4
```### Contributing
If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request. Contributions are welcome!