From 4363924f06c8e74de37c8a80a6e089d456e885a8 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 26 Dec 2024 17:45:27 -0500 Subject: [PATCH] _content/doc/go1.24: link to GenerateKey example Change-Id: I16e44987a6a71c94aa891775b0de234826b8f2e1 Reviewed-on: https://go-review.googlesource.com/c/website/+/638878 Reviewed-by: Ian Lance Taylor Reviewed-by: Filippo Valsorda LUCI-TryBot-Result: Go LUCI --- _content/doc/go1.24.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_content/doc/go1.24.md b/_content/doc/go1.24.md index a31b45c39e..e8cc2fe35e 100644 --- a/_content/doc/go1.24.md +++ b/_content/doc/go1.24.md @@ -391,8 +391,8 @@ a key smaller than 1024 bits. Such keys are insecure and should not be used. [GODEBUG setting](/doc/godebug) `rsa1024min=0` restores the old behavior, but we recommend doing so only if necessary and only in tests, for example by adding a `//go:debug rsa1024min=0` line to a test file. -A new [`GenerateKey`](/pkg/crypto/rsa#GenerateKey) example provides an -easy-to-use standard 2048-bit test key. +A new `GenerateKey` [example](/pkg/crypto/rsa#example-GenerateKey-TestKey) +provides an easy-to-use standard 2048-bit test key. It is now safe and more efficient to call [`PrivateKey.Precompute`](/pkg/crypto/rsa#PrivateKey.Precompute) before