rswgpu

package
v0.0.0-...-d202fd7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package rswgpu is a package that contains code to solve many consecutive RSW96 timelock puzzles on a graphics card.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SolveManyPuzzles

func SolveManyPuzzles(puzzles []*PuzzleRSWGPU) (answers [][]byte, err error)

Types

type PuzzleRSWGPU

type PuzzleRSWGPU struct {
	N  *big.Int
	A  *big.Int
	T  *big.Int
	CK *big.Int
}

func ToGPUPuzzle

func ToGPUPuzzle(pz *rsw.PuzzleRSW) (gpuPz *PuzzleRSWGPU)

ToGPUPuzzle converts a normal RSW puzzle into a puzzle solvable by GPU

func (*PuzzleRSWGPU) Solve

func (pz *PuzzleRSWGPU) Solve() (answer []byte, err error)

Jump to

Keyboard shortcuts

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