d

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NB_RD = 16
View Source
const PRIME = uint32(813416437)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppleD

type AppleD struct {
}

func (AppleD) Compute

func (d AppleD) Compute(R2 []byte, ask []byte) ([]byte, error)

type CP_D_Function

type CP_D_Function struct {
}

func (CP_D_Function) Compute

func (d CP_D_Function) Compute(R2 []byte, ask []byte) ([]byte, error)

func (CP_D_Function) ComputeHashValue

func (d CP_D_Function) ComputeHashValue(R2 []byte) ([]byte, error)

type D

type D interface {
	// Compute computes derived application secret key(dask)
	Compute(R2 []byte, ask []byte) ([]byte, error)
}

DerivedApplicationSecretKey

Jump to

Keyboard shortcuts

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