secp

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package secp implements Filecoin secp256k1 signature verification. The signing scheme is BlakeKeccak as used by Lotus: messages are hashed with BLAKE2b-256, then signed/verified via the standard secp256k1 ECDSA recover scheme using github.com/filecoin-project/go-crypto.

Code in this package is copied from github.com/filecoin-project/lotus/lib/sigs/secp at commit a0ecb8687f1c60d5e66040b6de364dbc9cc4d253. See LICENSE.

Copied from github.com/filecoin-project/lotus/lib/sigs/secp/init.go at commit a0ecb8687f1c60d5e66040b6de364dbc9cc4d253. See LICENSE.

Modifications:

  • import path for the sigs registry updated to github.com/Reiers/lantern/crypto/sigs

Jump to

Keyboard shortcuts

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