<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlSHA1String</id>
	<title>LlSHA1String - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlSHA1String"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlSHA1String&amp;action=history"/>
	<updated>2026-06-01T05:32:51Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlSHA1String&amp;diff=570&amp;oldid=prev</id>
		<title>Wzc：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llSHA1String( string src ); |参数= 参数：•…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlSHA1String&amp;diff=570&amp;oldid=prev"/>
		<updated>2020-08-12T01:10:02Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llSHA1String( string src ); |参数= 参数：•…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: string llSHA1String( string src );&lt;br /&gt;
|参数= 参数：•字符串src&lt;br /&gt;
|返回值= 返回值：返回一个40个十六进制字符的字符串，该字符串是src的SHA-1安全哈希。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|注意事项=LSL字符串以UTF-8格式存储。&lt;br /&gt;
&lt;br /&gt;
无法向该函数输入零字节值，也无法从128-255输入任何字节值，因此，它目前在许多用途中被破坏（如HMAC-SHA1）。原因是因为LSL字符串中不能有unicode空字符（U+0000），并且LSL没有空字符的转义码（许多编程语言使用\0，但LSL没有此功能）。llEscapeURL（“%00”）生成一个空字符串。同样，在这个函数中，U+0127/007F上具有Unicode整数值的每个字符都以UTF-8方式处理：在十六进制值中，0xC2被附加到字节值上（因此0x0080-0x00FF在llSHA1String（）例程中变成0xC280-0xC2FF）。已经为此申请了JIRA。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|示例=&lt;br /&gt;
示例1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
llSay(0, llSHA1String(&amp;quot;Hello, Avatar!&amp;quot;)); // returns 2E73318E547AF1B28CC0C96F95DDC9B1EE906B8D&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llMD5String]]&lt;br /&gt;
|相关事件=无&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Wzc</name></author>
		
	</entry>
</feed>