binary

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package binary implements generic binary addition chain algorithms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RightToLeft

type RightToLeft struct{}

RightToLeft builds a chain algorithm for the right-to-left binary method, akin to [hehcc:exp] Algorithm 9.2.

func (RightToLeft) FindChain

func (RightToLeft) FindChain(n *big.Int) (addchain.Chain, error)

FindChain applies the right-to-left binary method to n.

func (RightToLeft) String

func (RightToLeft) String() string

Jump to

Keyboard shortcuts

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