nacl: use HTTPS for nacl.cr.yp.to links
nacl.cr.yp.to is available over HTTPS and presents a valid certificate, so seems useful to use it. Change-Id: I64d86e52cc314641b4169167fe5123d38c2904c0 Reviewed-on: https://go-review.googlesource.com/26812 Reviewed-by: Jonathan Rudenberg <jonathan@titanous.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
9fbab14f90
commit
88d0005bf4
+3
-2
@@ -13,15 +13,16 @@ example, by using nonce 1 for the first message, nonce 2 for the second
|
|||||||
message, etc. Nonces are long enough that randomly generated nonces have
|
message, etc. Nonces are long enough that randomly generated nonces have
|
||||||
negligible risk of collision.
|
negligible risk of collision.
|
||||||
|
|
||||||
This package is interoperable with NaCl: http://nacl.cr.yp.to/box.html.
|
This package is interoperable with NaCl: https://nacl.cr.yp.to/box.html.
|
||||||
*/
|
*/
|
||||||
package box // import "golang.org/x/crypto/nacl/box"
|
package box // import "golang.org/x/crypto/nacl/box"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"io"
|
||||||
|
|
||||||
"golang.org/x/crypto/curve25519"
|
"golang.org/x/crypto/curve25519"
|
||||||
"golang.org/x/crypto/nacl/secretbox"
|
"golang.org/x/crypto/nacl/secretbox"
|
||||||
"golang.org/x/crypto/salsa20/salsa"
|
"golang.org/x/crypto/salsa20/salsa"
|
||||||
"io"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Overhead is the number of bytes of overhead when boxing a message.
|
// Overhead is the number of bytes of overhead when boxing a message.
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ example, by using nonce 1 for the first message, nonce 2 for the second
|
|||||||
message, etc. Nonces are long enough that randomly generated nonces have
|
message, etc. Nonces are long enough that randomly generated nonces have
|
||||||
negligible risk of collision.
|
negligible risk of collision.
|
||||||
|
|
||||||
This package is interoperable with NaCl: http://nacl.cr.yp.to/secretbox.html.
|
This package is interoperable with NaCl: https://nacl.cr.yp.to/secretbox.html.
|
||||||
*/
|
*/
|
||||||
package secretbox // import "golang.org/x/crypto/nacl/secretbox"
|
package secretbox // import "golang.org/x/crypto/nacl/secretbox"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user