Cipher Fayadh
Block cipher Feistel 128-bit dengan fungsi putaran sigma-delta
Loading...
Searching...
No Matches
permutation.hpp
Go to the documentation of this file.
1#ifndef PERMUTATION_HPP
2#define PERMUTATION_HPP
3
4#include <cstdint>
5
10
13constexpr int PERM_MULT = 41;
14
21uint64_t permute_bits(uint64_t x);
22
23#endif
uint64_t permute_bits(uint64_t x)
Permutasi bit: bit posisi i dipindah ke posisi (i * PERM_MULT) mod 64.
Definition permutation.cpp:3
constexpr int PERM_MULT
Definition permutation.hpp:13