Skip to content

Commit 4ce5252

Browse files
vvvvvcoreydaley
andauthored
docs: changed deprecated goo.gl links to their unshortened variant (#77)
Unshortened the links in the docs because 1. goo.gl is a deprecated service 2. being able to see the actual link is more verbose thus more useful inside of docs Co-authored-by: Corey Daley <cdaley@redhat.com>
1 parent ab6b808 commit 4ce5252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

securecookie.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func verifyMac(h hash.Hash, value []byte, mac []byte) error {
391391

392392
// encrypt encrypts a value using the given block in counter mode.
393393
//
394-
// A random initialization vector (http://goo.gl/zF67k) with the length of the
394+
// A random initialization vector ( https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV) ) with the length of the
395395
// block size is prepended to the resulting ciphertext.
396396
func encrypt(block cipher.Block, value []byte) ([]byte, error) {
397397
iv := GenerateRandomKey(block.BlockSize())
@@ -408,7 +408,7 @@ func encrypt(block cipher.Block, value []byte) ([]byte, error) {
408408
// decrypt decrypts a value using the given block in counter mode.
409409
//
410410
// The value to be decrypted must be prepended by a initialization vector
411-
// (http://goo.gl/zF67k) with the length of the block size.
411+
// ( https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV) ) with the length of the block size.
412412
func decrypt(block cipher.Block, value []byte) ([]byte, error) {
413413
size := block.BlockSize()
414414
if len(value) > size {

0 commit comments

Comments
 (0)