diff options
author | lloyd <[email protected]> | 2010-03-08 15:45:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-08 15:45:43 +0000 |
commit | 868c7f7d9c306e6e15d24f2b32e529aa1956516e (patch) | |
tree | 2d179e2ff08144c63ad5d7462cd5923524a92d33 /doc/examples | |
parent | 8a47f6f2bbf169a2ea0853234f81b49070c770df (diff) |
Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME to
PK_Encryptor_EME and PK_Decryptor_EME; the message recovery is somewhat
implicit in the recovery of the plaintext.
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/rsa_dec.cpp | 2 | ||||
-rw-r--r-- | doc/examples/rsa_enc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/rsa_dec.cpp b/doc/examples/rsa_dec.cpp index df681d85b..8353b0449 100644 --- a/doc/examples/rsa_dec.cpp +++ b/doc/examples/rsa_dec.cpp @@ -75,7 +75,7 @@ int main(int argc, char* argv[]) SecureVector<byte> enc_masterkey = b64_decode(enc_masterkey_str); - PK_Decryptor_MR_with_EME decryptor(*rsakey, "EME1(SHA-1)"); + PK_Decryptor_EME decryptor(*rsakey, "EME1(SHA-1)"); SecureVector<byte> masterkey = decryptor.decrypt(enc_masterkey); diff --git a/doc/examples/rsa_enc.cpp b/doc/examples/rsa_enc.cpp index 8ee4df181..6cf555e70 100644 --- a/doc/examples/rsa_enc.cpp +++ b/doc/examples/rsa_enc.cpp @@ -77,7 +77,7 @@ int main(int argc, char* argv[]) AutoSeeded_RNG rng; - PK_Encryptor_MR_with_EME encryptor(*rsakey, "EME1(SHA-1)"); + PK_Encryptor_EME encryptor(*rsakey, "EME1(SHA-1)"); /* Generate the master key (the other keys are derived from this) |