Cipher Fayadh
Block cipher Feistel 128-bit dengan fungsi putaran sigma-delta
Toggle main menu visibility
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
13
constexpr
int
PERM_MULT
= 41;
14
21
uint64_t
permute_bits
(uint64_t x);
22
23
#endif
permute_bits
uint64_t permute_bits(uint64_t x)
Permutasi bit: bit posisi i dipindah ke posisi (i * PERM_MULT) mod 64.
Definition
permutation.cpp:3
PERM_MULT
constexpr int PERM_MULT
Definition
permutation.hpp:13
include
permutation.hpp
Generated by
1.18.0