routers

package
v0.0.0-...-1719f48 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AES256CBC

func AES256CBC(w http.ResponseWriter, r *http.Request)

func AES256CTR

func AES256CTR(w http.ResponseWriter, r *http.Request)

func AES256Encrypt

func AES256Encrypt(plaintext, key, iv string, blockSize int) string

func ElGamal

func ElGamal(w http.ResponseWriter, r *http.Request)

func EllipticCurvePointAddition

func EllipticCurvePointAddition(w http.ResponseWriter, r *http.Request)

EllipticCurvePointAddition for elliptic curve: y² = x³ + ax + b mod p

func EllipticCurvePointMultiplication

func EllipticCurvePointMultiplication(w http.ResponseWriter, r *http.Request)

EllipticCurvePointMultiplication for elliptic curve: y² = x³ + ax + b mod p

func Hash

func Hash(w http.ResponseWriter, r *http.Request)

func PKCS5Padding

func PKCS5Padding(ciphertext []byte, blockSize, after int) []byte

func RSA

func RSA(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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