des.hpp 358 B

123456789101112131415
  1. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef DES_HPP
  4. #define DES_HPP
  5. #include "cbasetypes.hpp"
  6. /// One 64-bit block.
  7. typedef struct BIT64 { uint8_t b[8]; } BIT64;
  8. void des_decrypt_block(BIT64* block);
  9. void des_decrypt(unsigned char* data, size_t size);
  10. #endif /* DES_HPP */