📄 codeunit.pas
字号:
unit CodeUnit;
interface
procedure FastCode(var Str: string);
implementation
procedure FastCode(var Str: string);
const
XorKey: array[0..7] of Byte = ($D7, $EE, $B0, $AE, $BA, $D0, $D7, $D3);
var
I, J: Integer;
P: PByte;
begin
P := @Str[1];
J := 0;
for I := 1 to Length(Str) do
begin
P^ := P^ xor XorKey[J];
Inc(P);
J := (J + 1) mod 8;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -