diff options
author | vvvvv <65471094+vvvvv@users.noreply.github.com> | 2023-07-29 22:00:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-29 22:00:07 +0300 |
commit | 4ce52525b6a4243a02356b62abf6b2ef9038ff52 (patch) | |
tree | 98b626eade029b2462156a498a8a57bec54c6a3a | |
parent | ab6b80809e59d61b23e5ae5f1c24e123f3a17133 (diff) |
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>
-rw-r--r-- | securecookie.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/securecookie.go b/securecookie.go index b718ce9..0fbc064 100644 --- a/securecookie.go +++ b/securecookie.go @@ -391,7 +391,7 @@ func verifyMac(h hash.Hash, value []byte, mac []byte) error { // encrypt encrypts a value using the given block in counter mode. // -// A random initialization vector (http://goo.gl/zF67k) with the length of the +// A random initialization vector ( https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV) ) with the length of the // block size is prepended to the resulting ciphertext. func encrypt(block cipher.Block, value []byte) ([]byte, error) { iv := GenerateRandomKey(block.BlockSize()) @@ -408,7 +408,7 @@ func encrypt(block cipher.Block, value []byte) ([]byte, error) { // decrypt decrypts a value using the given block in counter mode. // // The value to be decrypted must be prepended by a initialization vector -// (http://goo.gl/zF67k) with the length of the block size. +// ( https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Initialization_vector_(IV) ) with the length of the block size. func decrypt(block cipher.Block, value []byte) ([]byte, error) { size := block.BlockSize() if len(value) > size { |