Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
1f1c9baf
Commit
1f1c9baf
authored
Jan 18, 2012
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/go1.html: add notes about hash.Hash
R=golang-dev, r CC=golang-dev
https://golang.org/cl/5536053
parent
a5263c7c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
go1.html
doc/go1.html
+15
-0
go1.tmpl
doc/go1.tmpl
+15
-0
No files found.
doc/go1.html
View file @
1f1c9baf
...
...
@@ -686,6 +686,21 @@ the correct function or method for the old functionality, but
may have the wrong type or require further analysis.
</p>
<h3
id=
"hash"
>
The hash package
</h3>
<p>
In Go 1, the definition of
<a
href=
"/pkg/hash/#Hash"
><code>
hash.Hash
</code></a>
includes
a new method,
<code>
BlockSize
</code>
. This new method is used primarily in the
cryptographic libraries.
</p>
<p>
<em>
Updating
</em>
:
Existing implementations of
<code>
hash.Hash
</code>
will need to add a
<code>
BlockSize
</code>
method. Hashes that process the input one byte at
a time can implement
<code>
BlockSize
</code>
to return 1.
</p>
<h3
id=
"html"
>
The html package
</h3>
<p>
...
...
doc/go1.tmpl
View file @
1f1c9baf
...
...
@@ -590,6 +590,21 @@ the correct function or method for the old functionality, but
may have the wrong type or require further analysis.
</p>
<h3 id="hash">The hash package</h3>
<p>
In Go 1, the definition of <a href="/pkg/hash/#Hash"><code>hash.Hash</code></a> includes
a new method, <code>BlockSize</code>. This new method is used primarily in the
cryptographic libraries.
</p>
<p>
<em>Updating</em>:
Existing implementations of <code>hash.Hash</code> will need to add a
<code>BlockSize</code> method. Hashes that process the input one byte at
a time can implement <code>BlockSize</code> to return 1.
</p>
<h3 id="html">The html package</h3>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment