Documentation ¶
Index ¶
- func DecryptOAEP(t testing.TB, hash hash.Hash, random io.Reader, priv *rsa.PrivateKey, ...) []byte
- func DecryptPKCS1v15(t testing.TB, rand io.Reader, priv *rsa.PrivateKey, ciphertext []byte) []byte
- func DecryptPKCS1v15SessionKey(t testing.TB, rand io.Reader, priv *rsa.PrivateKey, ciphertext []byte, ...)
- func EncryptOAEP(t testing.TB, hash hash.Hash, random io.Reader, pub *rsa.PublicKey, msg []byte, ...) []byte
- func EncryptPKCS1v15(t testing.TB, rand io.Reader, pub *rsa.PublicKey, msg []byte) []byte
- func GenerateKey(t testing.TB, random io.Reader, bits int) *rsa.PrivateKey
- func GenerateMultiPrimeKey(t testing.TB, random io.Reader, nprimes int, bits int) *rsa.PrivateKey
- func SignPKCS1v15(t testing.TB, rand io.Reader, priv *rsa.PrivateKey, hash crypto.Hash, ...) []byte
- func SignPSS(t testing.TB, rand io.Reader, priv *rsa.PrivateKey, hash crypto.Hash, ...) []byte
- func VerifyPKCS1v15(t testing.TB, pub *rsa.PublicKey, hash crypto.Hash, hashed []byte, sig []byte)
- func VerifyPSS(t testing.TB, pub *rsa.PublicKey, hash crypto.Hash, digest []byte, sig []byte, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptOAEP ¶
func DecryptPKCS1v15 ¶
func EncryptOAEP ¶
func EncryptPKCS1v15 ¶
func GenerateKey ¶
func GenerateMultiPrimeKey ¶
func SignPKCS1v15 ¶
func VerifyPKCS1v15 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.