fphash

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

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

README

Test

fphash

fphash is a variant of Cryptonight-GPU algorithm, with parameters below:

MEMORY = 32 * 1024
ITER = 0x300

This project provides Go bindings for the original C++ implementation of the Cryptonight-GPU algorithm can be found at ryo-currency/ryo-currency.

Usage

To use these bindings in your Go project, import the package:

import "github.com/CyberChainXyz/fphash-go"

intput := []uint8{1, 2, 3, 4, 5}
result := fphash.Hash(input) // [32]uint8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(input []uint8) [32]uint8

func Variant_version

func Variant_version() int

Types

type Ctx

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

Jump to

Keyboard shortcuts

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