torgen

package module
v0.0.0-...-4ae7d79 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 11 Imported by: 0

README

go-torgen Go Documentation Go Reference

Generate keys for both v2 and v3 TOR Hidden Service

Usage of torgen.exe:
  -override
        Overrite existing file
  -v3
        Generate V3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceDesc

type ServiceDesc struct {
	PrivateKey string
	Hostname   string
}

ServiceDesc contains services private key as well as hostname

func Generate

func Generate() (*ServiceDesc, error)

Generate creats a V2 address

type ServiceDescV3

type ServiceDescV3 struct {
	PrivateKey []byte
	PublicKey  []byte
	Hostname   string
}

ServiceDescV3 contains services private key as well as hostname

func GenerateV3

func GenerateV3() (*ServiceDescV3, error)

GenerateV3 creats a V3 address

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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