keys

package
v1.0.1-0...-a77bf53 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RSAFingerprint

func RSAFingerprint(key *rsa.PublicKey) []byte

RSAFingerprint вычисляет отпечаток ключа т.к. rsa ключ в понятиях MTProto это TL объект, то используется буффер подробнее https://core.telegram.org/mtproto/auth_key

func ReadFromFile

func ReadFromFile(path string) ([]*rsa.PublicKey, error)

func SaveRsaKey

func SaveRsaKey(key *rsa.PublicKey) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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