crypto

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: OSL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

TLS and JA3 parsers

Index

Constants

View Source
const AndroidJA3 = "769,49195-49196-52393-49199-49200-52392-158-159-49161-49162-49171-49172-" +
	"51-57-156-157-47-53,65281-0-23-35-13-16-11-10,23,0"

2454fe66222e468b886b8e552b5e2f3b

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

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

func NewBuffer

func NewBuffer(buf []byte) *Buffer

func (*Buffer) ReadUint32LengthPrefixed

func (b *Buffer) ReadUint32LengthPrefixed() ([]byte, []byte, bool)

github.com/golang/go/issues/49227

type ClientHello

type ClientHello struct {
	*tls.ClientHelloSpec
	Version uint16
}

func ParseJA3

func ParseJA3(str string) (*ClientHello, error)

func ParseTLS

func ParseTLS(buf []byte) (*ClientHello, error)

func (ClientHello) FormatJA3

func (c ClientHello) FormatJA3() (string, error)

func (ClientHello) Transport

func (c ClientHello) Transport() *http.Transport

Jump to

Keyboard shortcuts

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