>encryptB64(s: string): string; var hash1: TIdEncoderMIME; p: string; begin if s <> '''''''' then begin hash1 := TIdEncoderMIME.Create(nil); p := hash1.Encode(s); hash1.Free; end; Result := p; end;
end.
//------------------------------------------ // 怎么使用定义好得相关单元 //--------------------------------------------- unit Unit1;