decrypt

package
v0.0.0-...-9c20d30 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decryptor

type Decryptor struct {
	Err error
	// contains filtered or unexported fields
}

Decryptor controls all decrypt features

func New

func New(appID, sessionKey string) (*Decryptor, error)

New creates a decryptor

func (*Decryptor) Profile

func (decryptor *Decryptor) Profile(encryptedData, iv string) *model.Profile

Profile decrypt the encryped profile

func (*Decryptor) Run

func (decryptor *Decryptor) Run(encryptedData, iv string) *model.Run

Run decrypt the encryped rundata

func (*Decryptor) Share

func (decryptor *Decryptor) Share(encryptedData, iv string) *model.Share

Share decrypt the encryped share ticket

Jump to

Keyboard shortcuts

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