Files
mixly3/boards/default_src/python_skulpt/origin/examples/05-2 凯撒加密(ASCII码补充解密验证).mix
2024-07-19 10:16:00 +08:00

1 line
12 KiB
Plaintext

<xml xmlns="https://developers.google.com/blockly/xml"><block type="variables_set" id="^V)oIMocqAfr/^u+-CJk" x="-393" y="-265"><field name="VAR">s</field><value name="VALUE"><block type="inout_type_input" id="oj!$fcz-!*i$pW.OGD.f"><field name="DIR">str</field><value name="VAR"><shadow type="text" id=":8Sq5[~zc[wLBP@0CO/D"><field name="TEXT">请输入明文:</field></shadow></value></block></value><next><block type="variables_set" id="?t#j:XB2gqi*pUYfy}d,"><field name="VAR">n</field><value name="VALUE"><block type="inout_type_input" id="qn,#eo]o)xIh]VF)^j.B"><field name="DIR">int</field><value name="VAR"><shadow type="text" id=")]1!~`xe/;m~nD.kF2tv"><field name="TEXT">请输入位移值:</field></shadow></value></block></value><next><block type="lists_create_with" id="s}N$~nmU5ZUP$tF.!J[~" inline="true"><mutation xmlns="http://www.w3.org/1999/xhtml" items="0"></mutation><field name="VAR">jiami</field><next><block type="controls_forEach" id="Be3y{kfUvVlO~^it:}v8"><comment pinned="true" h="80" w="160">加密</comment><value name="LIST"><shadow type="list_many_input" id="u2w9Ha!L?`{ii?D3WM$f"><field name="CONTENT">0,1,2,3</field></shadow><block type="variables_get" id="vS[7?_FvKWxw_81N^L2d"><field name="VAR">s</field></block></value><value name="VAR"><shadow type="variables_get" id="./s/f.zX`hT2nWUHPg-|"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="controls_if" id="W28`^lN[=7V!679p$z2M"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="2Ej:0q{877|3,WSQF0m@" inline="false"><field name="OP">GT</field><value name="A"><block type="math_arithmetic" id="2M5f|-{1{]aiRK`0K$}!"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="NeCWGxiU`bVy-7:Y_aa9"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="Ba:uTq=7OyLK2Dzy#;d3"><value name="VAR"><shadow type="text" id="Ba:e;B8[2V@UHeKbLg1;"><field name="TEXT">a</field></shadow><block type="text_capital" id=".5q30B,ZRs2F3OV/9VHu"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text" id="B0du#$,v~tk,#;EpQ*;D"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="1ze8f+u,XN*dP7LBCRLx"><field name="VAR">i</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="iWQ)=:t@:0Po$4*/n4,l"><field name="NUM">1</field></shadow><block type="variables_get" id="Np|Y7q=n-I8-Nc7X2`-w"><field name="VAR">n</field></block></value></block></value><value name="B"><block type="char_to_ascii" id="qad,yf48[2:1wogg`}Y9"><value name="VAR"><shadow type="text" id="eRUbgnt`PL-@S?T5)O^D"><field name="TEXT">z</field></shadow></value></block></value></block></value><statement name="DO0"><block type="lists_append_extend" id="alWcs74umk;N.zWk-1-Q"><field name="OP">append</field><value name="LIST"><shadow type="variables_get" id=")$=@T]aEakm5wQRo}yQd"><field name="VAR">mylist</field></shadow><block type="variables_get" id="ivNY`TF1BwNE{w_U9GM1"><field name="VAR">jiami</field></block></value><value name="DATA"><shadow type="math_number" id=".;kzmFy{naQXatEpfV{e"><field name="NUM">0</field></shadow><block type="ascii_to_char" id="AP#mSuT36`]UYtP5j$$l"><value name="VAR"><shadow type="math_number" id="tiWJ/znDO$m!`8Q[vmx~"><field name="NUM">65</field></shadow><block type="math_arithmetic" id="vD3H#K5crLi+J!`,$(`D" inline="false"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="B2gkqhM1IKxvd4ycXW#C"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="8?CL`|R`7O=Is:Ma(;7?"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="trQVPI85@ksk];fu-4hT"><value name="VAR"><shadow type="text"><field name="TEXT">a</field></shadow><block type="text_capital" id=";0ajn~zC`M$ERL(gj@ac"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="0k81Vfqr^LKzS/^4.3_4"><field name="VAR">i</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="D(;U6NZW!4Z=VtNFKQ!6"><field name="VAR">n</field></block></value></block></value><value name="B"><shadow type="math_number" id="|pLGT?pjCTIG-D3{a^ZI"><field name="NUM">26</field></shadow></value></block></value></block></value></block></statement><statement name="ELSE"><block type="lists_append_extend" id="DcPib31N4|DlCii9m/$/"><field name="OP">append</field><value name="LIST"><shadow type="variables_get"><field name="VAR">mylist</field></shadow><block type="variables_get" id="0rlsRdi5lc!;;{Sk2vO}"><field name="VAR">jiami</field></block></value><value name="DATA"><shadow type="math_number" id="S=,Vp+hm`1}3GHs?u;dy"><field name="NUM">0</field></shadow><block type="ascii_to_char" id="1Ne*As=p2Uo2GMHK*B3K"><value name="VAR"><shadow type="math_number" id="l[)/ims!g^b+Jd5GeSO("><field name="NUM">65</field></shadow><block type="math_arithmetic" id="4g.{lju9T?g0EsF{u{2|"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="G!$f/@01DB?w-u2lU3]V"><value name="VAR"><shadow type="text"><field name="TEXT">a</field></shadow><block type="text_capital" id="jZXDY5yQ-_et_ynaw1^+"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="qY7_xX[a*F,flBoJ^K^}"><field name="VAR">i</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="UEAX*p]@LX_LM?T_kwEt"><field name="VAR">n</field></block></value></block></value></block></value></block></statement></block></statement><next><block type="inout_print" id="4#*uG.bM+D[InfEn0jk_"><value name="VAR"><shadow type="text" id="Hnfx+{ZfxtXp2FBnIq7D"><field name="TEXT">Hello</field></shadow><block type="text_join" id="c180tI4t$dXXUul9=hF["><value name="A"><shadow type="text" id="l[}z2QSnPe)g-/rJ._W]"><field name="TEXT">加密结果:</field></shadow></value><value name="B"><shadow type="text" id=")=r2iD;}SzO,u/-_3U#e"><field name="TEXT">Mixly</field></shadow><block type="text_join_seq" id=")wTgBIjhy`v:.:n2.aQK"><value name="VAR"><shadow type="text" id="^}soO![|oZh0sopKgaeL"><field name="TEXT"></field></shadow></value><value name="LIST"><shadow type="variables_get" id="=mzgge~ciYbMy42VSOP+"><field name="VAR">mylist</field></shadow><block type="variables_get" id="[qH*W4E8Y*V*TyANdx2U"><field name="VAR">jiami</field></block></value></block></value></block></value><next><block type="lists_create_with" id="`olYefLaJbk}2cC[G~pb" inline="true"><mutation xmlns="http://www.w3.org/1999/xhtml" items="0"></mutation><field name="VAR">decipher</field><next><block type="controls_forEach" id="bkTr?t?SLZ6F;(qn/y}|"><comment pinned="false" h="80" w="160">解密</comment><value name="LIST"><shadow type="list_many_input" id="g=W,JR2Aahc$MF`DDIP*"><field name="CONTENT">0,1,2,3</field></shadow><block type="variables_get" id="CO]]GrN(-fNqOZZu?w#J"><field name="VAR">jiami</field></block></value><value name="VAR"><shadow type="variables_get" id="SQ@nS+~sGiXN7,m:Wd@h"><field name="VAR">j</field></shadow></value><statement name="DO"><block type="controls_if" id="U5^vvi}jN/]UP+s:l1=F"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="!)w_{Pb_RR{8Iik;Wlx^" inline="false"><field name="OP">LT</field><value name="A"><block type="math_arithmetic" id="dF~X69uZ-)NRl8a[Tp,w"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="lXyFtyq,o#O(v-~scgoF"><value name="VAR"><shadow type="text"><field name="TEXT">a</field></shadow><block type="text_capital" id="d`oIvG#2{KIKH#J!VX^}"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="}cuIwkb+x[KS/;[zAZ@0"><field name="VAR">j</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="F)iMR]$(lU;i;/pKee7D"><field name="VAR">n</field></block></value></block></value><value name="B"><block type="char_to_ascii" id="q9S1`}v+x)@aV+`hoA2:"><value name="VAR"><shadow type="text" id="@tOM:8ZGY@Z-Dms0op#O"><field name="TEXT">a</field></shadow></value></block></value></block></value><statement name="DO0"><block type="lists_append_extend" id="B4~EKebde/7L|Z=XQZ:4"><field name="OP">append</field><value name="LIST"><shadow type="variables_get"><field name="VAR">mylist</field></shadow><block type="variables_get" id="SumM|5bym.bO]k:u{MDx"><field name="VAR">decipher</field></block></value><value name="DATA"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="ascii_to_char" id=",8.e+3Vtui!s..Er[MX|"><value name="VAR"><shadow type="math_number" id="R#gYPkR3(qiYr1:0kzid"><field name="NUM">65</field></shadow><block type="math_arithmetic" id="a|S/PfUb._x*]Qzo|^zt" inline="false"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="x-?eH]$N/M68FN_!/R[!"><field name="NUM">26</field></shadow><block type="math_arithmetic" id="=B@8E_V?[Dbin:y3l62w"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="z{M5G{h!4L~k_eLgV!p?"><value name="VAR"><shadow type="text"><field name="TEXT">a</field></shadow><block type="text_capital" id="{!r|0:/opr#R^Mkw@ZGR"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="Jy5aO[Y_(2U9I_A43[|{"><field name="VAR">j</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="7xG[DsfsS@(/RDl$|Ik:"><field name="VAR">n</field></block></value></block></value><value name="B"><shadow type="math_number" id="HB;U3K_(KHRoCC@$24aN"><field name="NUM">26</field></shadow></value></block></value></block></value></block></statement><statement name="ELSE"><block type="lists_append_extend" id="il`ITg1U8sOaqJ#V3i/:"><field name="OP">append</field><value name="LIST"><shadow type="variables_get"><field name="VAR">mylist</field></shadow><block type="variables_get" id="2Csu:6wvNmSlqOX+)/T!"><field name="VAR">decipher</field></block></value><value name="DATA"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="ascii_to_char" id="1u{1T!1gX/KR12jvljRq"><value name="VAR"><shadow type="math_number"><field name="NUM">65</field></shadow><block type="math_arithmetic" id="BqHFU.[A?}UHooZ[D7Zu"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="P1zmJ|_JoD(N,P|RKtT4"><value name="VAR"><shadow type="text"><field name="TEXT">a</field></shadow><block type="text_capital" id="OYKS+1FE4N)eEzJtQCJ:"><field name="CAPITAL">lower</field><value name="VAR"><shadow type="text"><field name="TEXT">Hello,mixly</field></shadow><block type="variables_get" id="DwU)7u;};599Hz?HbAA}"><field name="VAR">j</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id=".Lo7GioF+-BAlmt[:1So"><field name="VAR">n</field></block></value></block></value></block></value></block></statement></block></statement><next><block type="inout_print" id="}9dVcMj}q`#.{ZAVYHi8"><value name="VAR"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="text_join" id="=XBgdV-J!|}AH;r{h_1:"><value name="A"><shadow type="text" id="[uw:8^F.UaFS2cwV0^y;"><field name="TEXT">解密结果:</field></shadow></value><value name="B"><shadow type="text"><field name="TEXT">Mixly</field></shadow><block type="text_join_seq" id="LWrbY.7k/QzcbT:diJO}"><value name="VAR"><shadow type="text" id="m/O6ts,/3;W^94e.,~Kh"><field name="TEXT"></field></shadow></value><value name="LIST"><shadow type="variables_get"><field name="VAR">mylist</field></shadow><block type="variables_get" id="NG@),/$o7jhBwKd3JEF2"><field name="VAR">decipher</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>