Versions in this module Expand all Collapse all v0 v0.2.11 Jun 27, 2023 v0.2.10 Mar 13, 2022 v0.2.9 Mar 13, 2022 v0.2.8 Feb 24, 2022 v0.2.7 Feb 14, 2022 v0.2.6 Feb 7, 2022 v0.2.5 Jan 28, 2022 v0.2.4 Jan 12, 2022 v0.2.3 Dec 10, 2021 Changes in this version + const V1IdentityPublicKeyPrefix + const V2IdentityPublicKeyPrefix + type JSONWebKey struct + Crv string + D string + Kty string + X string + Y string + func Ed25519(random io.Reader) (*JSONWebKey, string, error) + func Legacy(random io.Reader) (*JSONWebKey, string, error) + func P384(random io.Reader) (*JSONWebKey, string, error) + func (k *JSONWebKey) RecoveryKey() (string, error) + func (k *JSONWebKey) Sign(message []byte) (string, error) + type Key struct + func FromString(input string) (*Key, error) + func (k *Key) SealingKey() string + func (k *Key) String() string + func (k *Key) Verify(message, signature []byte) bool