ccrypto

package
v0.0.0-...-3835ea7 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DetermRandIter = 2048

Variables

This section is empty.

Functions

func FingerprintKey

func FingerprintKey(k ssh.PublicKey) string

FingerprintKey 指纹key,计算SSH公钥的SHA256哈希值

func GenerateKey

func GenerateKey(seed string) ([]byte, error)

GenerateKey 生成SSH私钥

func NewDetermRand

func NewDetermRand(seed []byte) io.Reader

Types

This section is empty.

Jump to

Keyboard shortcuts

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