mirror of
https://github.com/golang/go
synced 2024-11-21 17:04:42 -07:00
doc: update Go1 release notes in light of the crypto/hmac change.
R=r CC=golang-dev https://golang.org/cl/5532108
This commit is contained in:
parent
903752f484
commit
68aff958ae
13
doc/go1.html
13
doc/go1.html
@ -875,6 +875,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
|
||||
as their first argument.
|
||||
</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>
|
||||
|
||||
<p>
|
||||
|
13
doc/go1.tmpl
13
doc/go1.tmpl
@ -779,6 +779,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
|
||||
as their first argument.
|
||||
</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>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user