cyberchef

package module
v0.0.0-...-db6fbc6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-2-Clause Imports: 3 Imported by: 1

README

CyberChef in Go packaged functions

This is an attempt to port some of the cyberchef functions into Go so that they can be used by my mini-tools 😃

example

package main

import (
	"fmt"
	"os"

	"github.com/proditis/mini-tools/cyberchef"
)

func main() {
  hash:="098f6bcd4621d373cade4e832627b4f6"
	analysis, _ := cyberchef.AnalyzeHash(hash)
	fmt.Println("Hash:", hash)
	fmt.Println("Analysis:", analysis)
}

running it produces

$ go run example.go
Hash: 098f6bcd4621d373cade4e832627b4f6
Analysis: [MD5 MD4 MD2 HAVAL-128 RIPEMD-128 Snefru Tiger-128]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeHash

func AnalyzeHash(input string) ([]string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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