cipher

package
v0.0.0-...-af4520f Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in string, obj interface{}) error

Decodes the base64 string into SDP object.

func Encode

func Encode(obj interface{}) (string, error)

encodes the SDP object into base64 and returns the string

func GenerateKey

func GenerateKey(key string)

func ReadSDP

func ReadSDP() (string, error)

func SDPPrompt

func SDPPrompt() (webrtc.SessionDescription, error)

func XOR

func XOR(src []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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