auth

package
v0.0.0-...-1c597ed Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(strtodecrypt string) string

func Encrypt

func Encrypt(strtoencrypt string) string

Types

type AuthCrypt

type AuthCrypt struct {
	// contains filtered or unexported fields
}

func (*AuthCrypt) DecryptRecv

func (ac *AuthCrypt) DecryptRecv(b []byte)

func (*AuthCrypt) EncryptSend

func (ac *AuthCrypt) EncryptSend(b []byte)

func (*AuthCrypt) Init

func (ac *AuthCrypt) Init(k []byte)

type ClientAuthCrypt

type ClientAuthCrypt struct {
	// contains filtered or unexported fields
}

func (*ClientAuthCrypt) DecryptRecv

func (ac *ClientAuthCrypt) DecryptRecv(b []byte)

func (*ClientAuthCrypt) EncryptSend

func (ac *ClientAuthCrypt) EncryptSend(b []byte)

func (*ClientAuthCrypt) Init

func (ac *ClientAuthCrypt) Init(k []byte)

Jump to

Keyboard shortcuts

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