From b165517f9c8185ceef9a5ce354b37505ebeca2bb Mon Sep 17 00:00:00 2001 From: Andrew Tunnell-Jones Date: Sat, 16 Nov 2013 12:19:19 +1100 Subject: crypto: Fix 'ChipherText' typo in doc --- lib/crypto/doc/src/crypto.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/crypto/doc/src') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 99d167bfa9..08a129c5c7 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -437,17 +437,17 @@ - private_decrypt(Type, ChipherText, PrivateKey, Padding) -> PlainText - Decrypts ChipherText using the private Key. + private_decrypt(Type, CipherText, PrivateKey, Padding) -> PlainText + Decrypts CipherText using the private Key. Type = rsa - ChipherText = binary() + CipherText = binary() PrivateKey = rsa_private() Padding = rsa_pkcs1_padding | rsa_pkcs1_oaep_padding | rsa_no_padding PlainText = binary() -

Decrypts the ChipherText, encrypted with +

Decrypts the CipherText, encrypted with public_encrypt/4 (or equivalent function) using the PrivateKey, and returns the plaintext (message digest). This is a low level signature verification operation @@ -458,7 +458,7 @@ - private_encrypt(Type, PlainText, PrivateKey, Padding) -> ChipherText + private_encrypt(Type, PlainText, PrivateKey, Padding) -> CipherText Encrypts PlainText using the private Key. Type = rsa @@ -469,7 +469,7 @@ used, where N is public modulus of the RSA key. PrivateKey = rsa_private() Padding = rsa_pkcs1_padding | rsa_no_padding - ChipherText = binary() + CipherText = binary()

Encrypts the PlainText using the PrivateKey @@ -481,17 +481,17 @@ - public_decrypt(Type, ChipherText, PublicKey, Padding) -> PlainText - Decrypts ChipherText using the public Key. + public_decrypt(Type, CipherText, PublicKey, Padding) -> PlainText + Decrypts CipherText using the public Key. Type = rsa - ChipherText = binary() + CipherText = binary() PublicKey = rsa_public() Padding = rsa_pkcs1_padding | rsa_no_padding PlainText = binary() -

Decrypts the ChipherText, encrypted with +

Decrypts the CipherText, encrypted with private_encrypt/4(or equivalent function) using the PrivateKey, and returns the plaintext (message digest). This is a low level signature verification operation @@ -502,7 +502,7 @@ - public_encrypt(Type, PlainText, PublicKey, Padding) -> ChipherText + public_encrypt(Type, PlainText, PublicKey, Padding) -> CipherText Encrypts PlainText using the public Key. Type = rsa @@ -513,7 +513,7 @@ used, where N is public modulus of the RSA key. PublicKey = rsa_public() Padding = rsa_pkcs1_padding | rsa_pkcs1_oaep_padding | rsa_no_padding - ChipherText = binary() + CipherText = binary()

Encrypts the PlainText (message digest) using the PublicKey -- cgit v1.2.3