]> AND Private Git Repository - Cipher_code.git/blob - Chaotic_code/Convert_Sbox_Bin.m
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
adding of the chaotic cipher code
[Cipher_code.git] / Chaotic_code / Convert_Sbox_Bin.m
1 function Bin_Sbox  =Convert_Sbox_Bin(Sbox)\r
2 Bin_Sbox=zeros(256,8);\r
3 for it=1:256\r
4     Bin_Sbox(it,:)=byte2bit(Sbox(it));\r
5     %double(dec2bin(Sbox(it),8))-48;\r
6     %byte2bit\r
7 end\r
8 \r
9 \r