postcomputation.cpp 696 B

1234567891011121314151617181920212223
  1. #include "postcomputation.hpp"
  2. void postcomputation(char& rop, char symbole, BitEvalL3 evalue, PrivateKey private_key)
  3. {
  4. //void dechiffrementL3(F2& bit_dechiffre, BitEvalL3 bit_chiffre, PrivateKey private_key)
  5. F2 IS_LOWER_CASE=0;
  6. dechiffrementL3(IS_LOWER_CASE,evalue,private_key);
  7. char symbole_dechiffree=symbole;
  8. //zout(IS_LOWER_CASE); //multiplicationL1L2 dechiffrementL3
  9. if (IS_LOWER_CASE == 1)
  10. {
  11. //cout << symbole << " est sensé être une minuscule!" << endl;
  12. symbole_dechiffree=char(symbole-32);
  13. }
  14. else
  15. {
  16. //cout << symbole << " est sensé ne pas être une minuscule!" << endl;
  17. }
  18. //cout << symbole_dechiffree << flush;
  19. //zout(sizeof(evalue));
  20. rop=symbole_dechiffree;
  21. }