iosLib

package
v0.0.0-...-8aeb7b2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Separator = "@@@"

	DefaultDomainUrl = "https://raw.githubusercontent.com/proton-lab/quantum/master/gfw.torrent"
)

Variables

This section is empty.

Functions

func CreateAccount

func CreateAccount(password string) string

func FindBestNode

func FindBestNode(nodesStr string) string

func GenAesKey

func GenAesKey(priKey []byte, peerID string) []byte

func GenPriKey

func GenPriKey(cipherTxt, address, password string) []byte

func LoadDomain

func LoadDomain(url string) string

func LoadNodes

func LoadNodes() string

func TestAes

func TestAes(priKey []byte, iv []byte, data []byte) []byte

func VerifyAccount

func VerifyAccount(cipherTxt, address, password string) bool

func VerifyLicense

func VerifyLicense(license string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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