Documentation
¶
Overview ¶
Package crypto provides wrapper types for go-ethereum's crypto implementation
Index ¶
Constants ¶
View Source
const ( SignatureLength = crypto.SignatureLength DigestLength = crypto.DigestLength HashLength = 32 // SHA3-256 hash length )
Re-export constants
Variables ¶
View Source
var ( Keccak256 = crypto.Keccak256 Keccak256Hash = crypto.Keccak256Hash CreateAddress = crypto.CreateAddress CreateAddress2 = crypto.CreateAddress2 ToECDSA = crypto.ToECDSA ToECDSAUnsafe = crypto.ToECDSAUnsafe FromECDSA = crypto.FromECDSA UnmarshalPubkey = crypto.UnmarshalPubkey FromECDSAPub = crypto.FromECDSAPub HexToECDSA = crypto.HexToECDSA LoadECDSA = crypto.LoadECDSA SaveECDSA = crypto.SaveECDSA GenerateKey = crypto.GenerateKey PubkeyToAddress = crypto.PubkeyToAddress HashData = crypto.HashData NewKeccakState = crypto.NewKeccakState Sign = crypto.Sign VerifySignature = crypto.VerifySignature Ecrecover = crypto.Ecrecover SigToPub = crypto.SigToPub ValidateSignatureValues = crypto.ValidateSignatureValues )
Re-export functions
Functions ¶
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package blake2b provides wrapper types for go-ethereum's blake2b implementation
|
Package blake2b provides wrapper types for go-ethereum's blake2b implementation |
|
Package bn256 provides wrapper types for go-ethereum's bn256 implementation
|
Package bn256 provides wrapper types for go-ethereum's bn256 implementation |
|
Package kzg4844 provides wrapper types for go-ethereum's kzg4844 implementation
|
Package kzg4844 provides wrapper types for go-ethereum's kzg4844 implementation |
Click to show internal directories.
Click to hide internal directories.