An open API service indexing awesome lists of open source software.

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

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"))
}

```