{"text_format":"1","workbook":"xlsx","n_sheets":2,"sheets":["võtmete laiendus","krüpteerimine"],"not_rendered":{"charts":0,"images":2,"macros":1,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"võtmete laiendus","index":0,"n_rows":101,"n_cols":6,"rows_kept":101,"cut":false,"hidden":false,"merged":[]}
["Algoritm Blowfish."]
["Alamvõtmed."]
["1.      Sisesta oma nimi ja teisenda kahendkoodi"]
[]
[]
[]
["2.","Pikenda võti kuni 448 bitti vajutades nupule\"pikenda\", vastus ilmub kollasesse kasti"]
[]
[]
[]
[]
[null,"3. tükelda saadud võti 18ks osaks",null,"4. Konverdi PI hex osad kahendkoodi"]
["K1",null,"P1","0x243f6a88 "]
["K2",null,"P2","0x85a308d3 "]
["K3",null,"P3","0x13198a2e "]
["K4",null,"P4","0x03707344 "]
["K5",null,"P5","0xa4093822 "]
["K6",null,"P6","0x299f31d0 "]
["K7",null,"P7","0x082efa98 "]
["K8",null,"P8","0xec4e6c89 "]
["K9",null,"P9","0x452821e6 "]
["K10",null,"P10","0x38d01377 "]
["K11",null,"P11","0xbe5466cf "]
["K12",null,"P12","0x34e90c6c "]
["K13",null,"P13","0xc0ac29b7 "]
["K14",null,"P14","0xc97c50dd "]
["K15",null,"P15","0x3f84d5b5 "]
["K16",null,"P16","0xb5470917 "]
["K17",null,"P17","0x9216d5d9 "]
["K18",null,"P18","0x8979fb1b "]
[]
[]
[null,"5. Teosta Ki ja Pi vahel XOR"]
["K1"]
["K2"]
["K3"]
["K4"]
["K5"]
["K6"]
["K7"]
["K8"]
["K9"]
["K10"]
["K11"]
["K12"]
["K13"]
["K14"]
["K15"]
["K16"]
["K17"]
["K18"]
[]
[]
[null,"6. Läbime ühe ringi võtmete laiendamiseks"]
[]
[null,"00000000000000000000000000000000"]
["K1",null,"xor"]
[]
[]
[]
[null,"7. Funktsiooni F arvutamine"]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[null,"8. Jaga tulemus neljaks osaks"]
["8 bits"]
["8 bits"]
["8 bits"]
["8 bits"]
[]
[null,"http://www.tlu.ee/~matsak/crypto/blowfish_s_boxes.pdf"]
[null,"9.S-box-ide tulemused, konvertitud kahendkoodi"]
["S-box1",null,"-->V1"]
["S-box2",null,"-->V2"]
["S-box3",null,"-->V3"]
["S-box4",null,"-->V4"]
[]
[]
[null,"(V1+V2) mod 232"]
[null,null,"-->Z1"]
[]
[null,"Z1 xor V3"]
[null,null,"-->Z2"]
[]
[null,"(Z2+V4) mod 232"]
[null,null,"xor","00000000000000000000000000000000"]
[]
[]
[null,"Lepime kokku, et jätame välja veel 15 samasugust ringi"]
[null,"Teostame xor K18 ja K17-ga"]
["K17",null,"xor",null,null,"K1"]
["K18",null,"xor",null,null,"K2"]

{"sheet":"krüpteerimine","index":1,"n_rows":49,"n_cols":6,"rows_kept":49,"cut":false,"hidden":false,"merged":[]}
["Algoritm Blowfish."]
["Krüpteerimine"]
[]
["Võtmete laienduse tulemusena on saadud K1 ja K2"]
[]
["K1"]
["K2"]
[]
["Näitame krüpteerimise põhimõtet, kasutades selleks teksti, mis on moodustatud sinu perekonnanimest ja mille pikkus on 8 tähte (ehk 64 bitti):"]
[]
["tekst:"]
[]
[]
["tekst kahenkoodina:"]
[]
[]
["Jaga kahendkood kahte ossa:"]
[]
["LEFT",null,"RIGHT"]
["K1"]
["xor"]
[]
[null," Jaga tulemus neljaks osaks"]
["8 bits"]
["8 bits"]
["8 bits"]
["8 bits"]
[]
[]
["S-box1",null,"-->V1"]
["S-box2",null,"-->V2"]
["S-box3",null,"-->V3"]
["S-box4",null,"-->V4"]
[]
[]
[null,"(V1+V2) mod 232"]
[null,null,"-->Z1"]
[]
[null,"Z1 xor V3"]
[null,null,"-->Z2"]
[]
[null,"(Z2+V4) mod 232",null,"RIGHT"]
[null,null,"xor",null,null,"-->RES"]
[]
[]
[null,"Minnes teisele ringile lisame xor-iga K2"]
[]
["K2"]
["RES"]