Hello,
I've made a new Merge Request in the nettle gitlab repo to provide
RSA-OAEP encryption and decryption:
https://git.lysator.liu.se/nettle/nettle/-/merge_requests/20
It adds 2 new functions:
int
pkcs1_oaep_encrypt (size_t key_size,
void *random_ctx, nettle_random_func *random,
size_t hlen,
size_t label_length, const uint8_t *label,
size_t message_length, const uint8_t *message,
mpz_t m);
int
pkcs1_oaep_decrypt (size_t key_size,
const mpz_t m,
size_t hlen,
size_t label_length, const uint8_t *label,
size_t *length, uint8_t *message);
The parameter hlen is the output length of the SHA function used for
masking data:
- SHA1_DIGEST_SIZE
- SHA256_DIGEST_SIZE
- SHA384_DIGEST_SIZE
- SHA512_DIGEST_SIZE
Is it possible to get feedback for this MR and eventually push it to the
master branch?
Thanks in advance
/Nicolas
Mr.louis coker Taylor
Special adviser to Pre. Charles Taylor,
Email:louistaylor4@netscape.net
Dear Sir/Madam,
REQUEST FOR AN URGENT CONFIDENTIAL BUSINESS RELATIONSHIP.
After due deliberation with my Uncle , I have decided to forward to you this
business proposal. We want a reliable person who could assist us to transfer
the sum of Twenty Million Five Hundred Thousand United States Dollars (
$20,500,000 ) into his / her account . My proposal to you will be very
surprising, as we have not had any Personal contact before. However, I
sincerely seek your confidence in this Transaction, which I propose to you
as a person of transparency, honesty and high caliber.
Let me first start by introducing myself properly to you, my name is
Mr.Louis Coker Taylor Special Assistant to President Charles Taylor, the
Former President of Republic of Liberia. As you may want to know and to make
you less curious, I got your address from adverts in the business directory
that portrayed your establishment in good light. I apologize if I have
infringed on your privacy.
You may know that My Uncle President Charles Taylor is Presently facing
serious, Opposition from the LURDS Army (Liberia United for the Restoration
of Democracy), The security and safety of my uncle is not guaranteed
following serious support given to the rebels.View these websites:
http://www.cnn.com/2003/WORLD/africa/08/11/taylor.warcrimes/index.htmlhttp://www.cnn.com/2003/WORLD/africa/08/11/liberia.1300/index.html
My Uncle is seriously scared of this development, he does not want to suffer
the experience of our Former president, Sergeant Samuel Doe who died in the
hands of Price Yomi Johnson Who brutally massacred Samuel Doe, this was as a
result of support the rebel had from foreign countries at that time. Based
on these developments, the various foreign banks Account of my Uncle is
already being investigated and that of Switzerland has already been frozen.
In view of this very unpleasant development, the sum of $20.5Million dollar
has been Secretly moved to a private security vault for safekeeping.
My Uncle Mr Charles Taylor is Presently in Nigeria for asylum, he has
confided in me With this task of seeking a very reliable and honest person
that Will receive this Fund into his/her account for the future Survival of
him and his family since he cannot presently deposit Or transfer the fund on
his name or that of his family members Name due to the present situation in
our country. He may likely Face war -crime charges as declared by the United
Nations in Respect of his alleged involvement in civil war in Sierra-Leone.
This money arose from various compensation he received from the Companies
that were involved in the sale of rubber, timber and Mining sale of
diamonds. He has instructed me that whomever that comes to our assistance
should be compensated with 20% commission While 5% should be set aside to
defray any expenses incurred by both parties. The 75% will be for My Uncle
Charles Taylor, as the Principal owner of the Fund. Part of his share will
be invested in your country in any venture with your advice. Consequent upon
your acceptance of this proposal, kindly confirm your interest by Email OR.
Your indication by revert Telephone to me of your sincere and serious
interest will enable me fax you the PROCEDURE FOR OPERATION If my line is
busy, please keep trying you will surely get through.
NOTE: In the event of your inability to handle this transaction please
inform me so that I can look for another reliable person who can assist in
this respect. It might surprise you why I choose you and trusted you for
this transaction. Yes, I believe that good friends can be discovered and
business like this can not be realised without trust. This is why I have
decided to trust you for this transaction. you are further informed that
every ones interest and security had been considered before you were
contacted, so be rest assured and feel free to go into this transaction with
us. But let Honesty and Trust be our watchword throughout this transaction
and your prompt reply will be highly appreciated.
Kind Regards,
Mr.Louis Coker Taylor
NB: Please send your response to louistaylor4(a)netscape.net
--a2d885be-e2c6-47db-836b-6f88a47446d3--