mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
doc/go1.20: add code tags in crypto/{rsa,subtle} and net/netip sections
Change-Id: I516195fb1c2434feb3bf130d37012a98d77beeb6 Reviewed-on: https://go-review.googlesource.com/c/go/+/454235 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
cd133abc5b
commit
c71d3a0f50
|
@ -587,7 +587,7 @@ proxyHandler := &httputil.ReverseProxy{
|
||||||
<dl id="crypto/rsa"><dt><a href="/pkg/crypto/rsa/">crypto/rsa</a></dt>
|
<dl id="crypto/rsa"><dt><a href="/pkg/crypto/rsa/">crypto/rsa</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 418874, https://go.dev/issue/19974 -->
|
<p><!-- CL 418874, https://go.dev/issue/19974 -->
|
||||||
The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash">OAEPOptions.MGFHash</a>
|
The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash"><code>OAEPOptions.MGFHash</code></a>
|
||||||
allows configuring the MGF1 hash separately for OAEP encryption.
|
allows configuring the MGF1 hash separately for OAEP encryption.
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
@ -596,7 +596,7 @@ proxyHandler := &httputil.ReverseProxy{
|
||||||
<dl id="crypto/subtle"><dt><a href="/pkg/crypto/subtle/">crypto/subtle</a></dt>
|
<dl id="crypto/subtle"><dt><a href="/pkg/crypto/subtle/">crypto/subtle</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- https://go.dev/issue/53021, CL 421435 -->
|
<p><!-- https://go.dev/issue/53021, CL 421435 -->
|
||||||
The new function <a href="/pkg/crypto/subtle/#XORBytes">XORBytes</a>
|
The new function <a href="/pkg/crypto/subtle/#XORBytes"><code>XORBytes</code></a>
|
||||||
XORs two byte slices together.
|
XORs two byte slices together.
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
@ -905,8 +905,8 @@ proxyHandler := &httputil.ReverseProxy{
|
||||||
<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
|
<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- https://go.dev/issue/51766, https://go.dev/issue/51777, CL 412475 -->
|
<p><!-- https://go.dev/issue/51766, https://go.dev/issue/51777, CL 412475 -->
|
||||||
The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters">IPv6LinkLocalAllRouters</a>
|
The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters"><code>IPv6LinkLocalAllRouters</code></a>
|
||||||
and <a href="/pkg/net/netip/#IPv6Loopback">IPv6Loopback</a> functions
|
and <a href="/pkg/net/netip/#IPv6Loopback"><code>IPv6Loopback</code></a> functions
|
||||||
are the <code>net/netip</code> equivalents of
|
are the <code>net/netip</code> equivalents of
|
||||||
<a href="/pkg/net/#IPv6loopback"><code>net.IPv6loopback</code></a> and
|
<a href="/pkg/net/#IPv6loopback"><code>net.IPv6loopback</code></a> and
|
||||||
<a href="/pkg/net/#IPv6linklocalallrouters"><code>net.IPv6linklocalallrouters</code></a>.
|
<a href="/pkg/net/#IPv6linklocalallrouters"><code>net.IPv6linklocalallrouters</code></a>.
|
||||||
|
|
Loading…
Reference in a new issue