Skip to content
Snippets Groups Projects
  1. Jun 15, 2022
  2. May 29, 2022
  3. Apr 14, 2022
    • dario.genga's avatar
      Update modular_inverse and modulo. · b8494214
      dario.genga authored
      The modulo method now works with negative numbers.
      
      Also added a egcd method to get the greatest common divisor of a
      and b by using the euclidean division.
      
      Also added comments to all methods.
      b8494214
  4. Apr 06, 2022
    • dario.genga's avatar
      Refactor the creation of the subkeys table · bca19965
      dario.genga authored
      The create_subkeys_table method now directly create a 2d array
      containing the subkeys for each rounds.
      
      The create_decryption_subkeys_table and encrypt table have been
      updated in accordingly.
      
      Small refactor global of the code to add global constants.
      
      Added an optionnal parameter to the shift_key methods to determine
      the number of bits to shift.
      bca19965
    • dario.genga's avatar
      Add decryption · 77d8e832
      dario.genga authored
      In order to decrypt the ciphertext, we must :
      - be capable to calculate the modular inverse
      - create the decryption subkeys table
          - this required others methods to create a 2d table of the
          encryption subkeys
      77d8e832
    • dario.genga's avatar
      Small refactoring of the xor method · 22711e0f
      dario.genga authored
      The code of the method is cleaner and easier to read.
      22711e0f
  5. Apr 05, 2022
  6. Mar 30, 2022
  7. Mar 29, 2022
  8. Mar 24, 2022
Loading