vmprotect

package
v0.0.0-...-a90ecb9 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportBits = []interface{}{128, 256, 512, 1024, 2048, 4096}

Functions

This section is empty.

Types

type Config

type Config struct {
	Algorithm   string
	Bits        int
	Private     string
	Modules     string
	ProductCode string
}

func NewConfig

func NewConfig(algorithm string, bits int, private string, modules string, productCode string) (keygen *Config, err error)

type License

type License struct {
	Name, Email          string
	Expiration, MaxBuild time.Time
	HardwareId           []byte
	RunningTimeLimit     int
	UserData             []byte
	ProductCode          string
	Version              int
}

func ParseLicense

func ParseLicense(serial, public, modulus, productCode string, bits int) (*License, error)

func (License) Generate

func (l License) Generate(config Config) (string, error)

Jump to

Keyboard shortcuts

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