https://github.com/spotmaxtech/license
A tiny license manager package
https://github.com/spotmaxtech/license
Last synced: 6 months ago
JSON representation
A tiny license manager package
- Host: GitHub
- URL: https://github.com/spotmaxtech/license
- Owner: spotmaxtech
- License: mit
- Created: 2019-07-30T05:34:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T09:49:41.000Z (almost 7 years ago)
- Last Synced: 2023-08-04T21:08:12.385Z (almost 3 years ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# License
A tiny license tool package
# Introduction
Create license is very simple. User provide information, we encrypt the information
with MAGIC string. Then use the MAGIC string we can encrypt user information again
to check valid or not.
Simple, right? Have fun!
# Usage
```bash
go get github.com/spotmaxtech/license
```
```go
package main
import "github.com/spotmaxtech/license"
func main() {
l := license.NewLicenseManger("123456789")
key, _ := l.CreateLicense([]byte("jinjin"))
}
```