rsa

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeyPair

func GenerateKeyPair() (string, string, error)

func PublicKeyAndFingerprintFromPrivateKey

func PublicKeyAndFingerprintFromPrivateKey(priv string) (pub []byte, fp []byte, err error)

func PublicKeyFingerprint

func PublicKeyFingerprint(key crypto.PublicKey) ([]byte, error)

PublicKeyFingerprint creates a fingerprint of the given key. The fingerprint is the sha256 sum of the PKIX structure of the key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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