Help us shape the future of Go! Take the 2026 Go Developer Survey

encoding

package
v0.0.0-...-5c62a0c Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RSADecrypt

func RSADecrypt(ciphertext, key []byte) ([]byte, error)

func RSAEncrypt

func RSAEncrypt(plaintext, key []byte) ([]byte, error)

func SignPKCS1v15

func SignPKCS1v15(src, key []byte, hash crypto.Hash) ([]byte, error)

func VerifyPKCS1v15

func VerifyPKCS1v15(src, sig, key []byte, hash crypto.Hash) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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