Versions in this module Expand all Collapse all v1 v1.0.0 Jun 27, 2022 Changes in this version + func GenerateKeyPair() (publicKey []byte, privateKey []byte, err error) + type Licence struct + CPUID string + ExpireAt string + MAC string + Product string + SN string + Signature string + UUID string + User string + func (l *Licence) Decode(text string) error + func (l *Licence) Encode() string + func (l *Licence) Match(product string) error + func (l *Licence) Sign(privateKey []byte) + func (l *Licence) Verify(publicKey []byte) error