Documentation ¶
Index ¶
- func AES256CBC(w http.ResponseWriter, r *http.Request)
- func AES256CTR(w http.ResponseWriter, r *http.Request)
- func AES256Encrypt(plaintext, key, iv string, blockSize int) string
- func ElGamal(w http.ResponseWriter, r *http.Request)
- func EllipticCurvePointAddition(w http.ResponseWriter, r *http.Request)
- func EllipticCurvePointMultiplication(w http.ResponseWriter, r *http.Request)
- func Hash(w http.ResponseWriter, r *http.Request)
- func PKCS5Padding(ciphertext []byte, blockSize, after int) []byte
- func RSA(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AES256Encrypt ¶
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 PKCS5Padding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.