tripcode

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 7 Imported by: 15

README

GoDoc

Tripcode generation library for golang.

Based on code from avimedia, KenanY and SaveTheInternet.

Usage

tripcode.Tripcode("password")

and

tripcode.SecureTripcode("password", "secure salt")

Documentation

Overview

Package tripcode generates 4chan compatible tripcodes mainly for anonymous forums. There are different implementations of the tripcode algorithm. This one is based on code from http://avimedia.livejournal.com/1583.html

Example usage:

  package main

  import "github.com/aquilax/tripcode"

  func main() {
	  print(tripcode.Tripcode("password")
	  print(tripcode.SecureTripcode("password", "secure salt"))
  }

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecureTripcode

func SecureTripcode(password string, secureSalt string) string

SecureTripcode generates a secure tripcode based on the provided password and a secure salt combination.

func Tripcode

func Tripcode(password string) string

Tripcode generates a tripcode for the provided password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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