Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestVector ¶
type TestVector[I, O any] struct { Description string `json:"description"` Input I `json:"input"` Output O `json:"output"` Errors bool `json:"errors"` }
TestVector is an individual test vector case
type TestVectors ¶
type TestVectors[T, U any] struct { Description string `json:"description"` Vectors []TestVector[T, U] `json:"vectors"` }
TestVectors are JSON files which are tested against to ensure interop with the specification
func LoadTestVectors ¶
func LoadTestVectors[I, O any](path string) (TestVectors[I, O], error)
LoadTestVectors is for reading the vector at the given path
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package crypto provides the following functionality: * Key Generation: secp256k1, ed25519 * Signing: secp256k1, ed25519 * Verification: secp256k1, ed25519 * A KeyManager abstraction that can be leveraged to manage/use keys (create, sign etc) as desired per the given use case
|
Package crypto provides the following functionality: * Key Generation: secp256k1, ed25519 * Signing: secp256k1, ed25519 * Verification: secp256k1, ed25519 * A KeyManager abstraction that can be leveraged to manage/use keys (create, sign etc) as desired per the given use case |
dsa/eddsa
Package eddsa implements the EdDSA signature schemes as per RFC 8032 https://tools.ietf.org/html/rfc8032.
|
Package eddsa implements the EdDSA signature schemes as per RFC 8032 https://tools.ietf.org/html/rfc8032. |
Package jwk implements a subset of the JSON Web Key spec (https://tools.ietf.org/html/rfc7517)
|
Package jwk implements a subset of the JSON Web Key spec (https://tools.ietf.org/html/rfc7517) |
Click to show internal directories.
Click to hide internal directories.