Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
68aff958
Commit
68aff958
authored
Jan 27, 2012
by
Adam Langley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update Go1 release notes in light of the crypto/hmac change.
R=r CC=golang-dev
https://golang.org/cl/5532108
parent
903752f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
doc/go1.html
doc/go1.html
+13
-0
doc/go1.tmpl
doc/go1.tmpl
+13
-0
No files found.
doc/go1.html
View file @
68aff958
...
@@ -875,6 +875,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
...
@@ -875,6 +875,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
as their first argument.
as their first argument.
</p>
</p>
<h3
id=
"crypto/hmac"
>
The crypto/hmac package
</h3>
<p>
In Go 1, the hash-specific functions, such as
<code>
hmac.NewMD5
</code>
, have
been removed from
<code>
crypto/hmac
</code>
. Instead,
<code>
hmac.New
</code>
takes
a function that returns a
<code>
hash.Hash
</code>
, such as
<code>
md5.New
</code>
.
</p>
<p>
<em>
Updating
</em>
:
Gofix will perform the needed changes.
</p>
<h3
id=
"crypto_x509"
>
The crypto/x509 package
</h3>
<h3
id=
"crypto_x509"
>
The crypto/x509 package
</h3>
<p>
<p>
...
...
doc/go1.tmpl
View file @
68aff958
...
@@ -779,6 +779,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
...
@@ -779,6 +779,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
as
their
first
argument
.
as
their
first
argument
.
</
p
>
</
p
>
<
h3
id
=
"crypto/hmac"
>
The
crypto
/
hmac
package
</
h3
>
<
p
>
In
Go
1
,
the
hash
-
specific
functions
,
such
as
<
code
>
hmac
.
NewMD5
</
code
>,
have
been
removed
from
<
code
>
crypto
/
hmac
</
code
>.
Instead
,
<
code
>
hmac
.
New
</
code
>
takes
a
function
that
returns
a
<
code
>
hash
.
Hash
</
code
>,
such
as
<
code
>
md5
.
New
</
code
>.
</
p
>
<
p
>
<
em
>
Updating
</
em
>:
Gofix
will
perform
the
needed
changes
.
</
p
>
<
h3
id
=
"crypto_x509"
>
The
crypto
/
x509
package
</
h3
>
<
h3
id
=
"crypto_x509"
>
The
crypto
/
x509
package
</
h3
>
<
p
>
<
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