x11

package
v0.0.0-...-c3c44a6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT, ISC Imports: 12 Imported by: 0

README

go-x11

Implements the x11 hash and required functions in go.

Usage

	package main

	import (
		"fmt"
		"github.com/phoreproject/go-x11"
	)

	func main() {
		hs, out := x11.New(), [32]byte{}
		hs.Hash([]byte("DASH"), out[:])
		fmt.Printf("%x \n", out[:])
	}

Notes

Echo, Simd and Shavite do not have 100% test coverage, a full test on these requires the test to hash a blob of bytes that is several gigabytes large.

License

go-x11 is licensed under the copyfree ISC license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(src []byte) []byte

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