diff --git a/vlib/crypto/aes/aes.v b/vlib/crypto/aes/aes.v index 91b8d9f171..e027fdc082 100644 --- a/vlib/crypto/aes/aes.v +++ b/vlib/crypto/aes/aes.v @@ -2,7 +2,8 @@ // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. -// Adapted from: https://github.com/golang/go/blob/master/src/crypto/aes +// Based off: https://github.com/golang/go/blob/master/src/crypto/aes +// Last commit: https://github.com/golang/go/commit/691a2d457ab1bf03bd46d4b69e0f93b8993c0055 module aes diff --git a/vlib/crypto/md5/md5.v b/vlib/crypto/md5/md5.v index d0dc630d87..d263fa3c2b 100644 --- a/vlib/crypto/md5/md5.v +++ b/vlib/crypto/md5/md5.v @@ -7,7 +7,8 @@ // MD5 is cryptographically broken and should not be used for secure // applications. -// Adapted from: https://github.com/golang/go/blob/master/src/crypto/md5 +// Based off: https://github.com/golang/go/blob/master/src/crypto/md5 +// Last commit: https://github.com/golang/go/commit/ed7f323c8f4f6bc61a75146bf34f5b8f73063a17 module md5 diff --git a/vlib/crypto/rc4/rc4.v b/vlib/crypto/rc4/rc4.v index bb5d83d0f0..6f0e45b1b0 100644 --- a/vlib/crypto/rc4/rc4.v +++ b/vlib/crypto/rc4/rc4.v @@ -8,7 +8,8 @@ // RC4 is cryptographically broken and should not be used for secure // applications. -// Adapted from: https://github.com/golang/go/blob/master/src/crypto/rc4 +// Based off: https://github.com/golang/go/blob/master/src/crypto/rc4 +// Last commit: https://github.com/golang/go/commit/b35dacaac57b039205d9b07ea24098e2c3fcb12e module rc4 diff --git a/vlib/crypto/sha1/sha1.v b/vlib/crypto/sha1/sha1.v index b11dbfb73e..d9e672e06e 100644 --- a/vlib/crypto/sha1/sha1.v +++ b/vlib/crypto/sha1/sha1.v @@ -7,7 +7,8 @@ // SHA-1 is cryptographically broken and should not be used for secure // applications. -// Adapted from: https://github.com/golang/go/blob/master/src/crypto/sha1 +// Based off: https://github.com/golang/go/blob/master/src/crypto/sha1 +// Last commit: https://github.com/golang/go/commit/3ce865d7a0b88714cc433454ae2370a105210c01 module sha1 diff --git a/vlib/crypto/sha256/sha256.v b/vlib/crypto/sha256/sha256.v index 8202c97141..cc65096af8 100644 --- a/vlib/crypto/sha256/sha256.v +++ b/vlib/crypto/sha256/sha256.v @@ -5,7 +5,8 @@ // Package sha256 implements the SHA224 and SHA256 hash algorithms as defined // in FIPS 180-4. -// Adaped from https://github.com/golang/go/tree/master/src/crypto/sha256 +// Based off: https://github.com/golang/go/tree/master/src/crypto/sha256 +// Last commit: https://github.com/golang/go/commit/3ce865d7a0b88714cc433454ae2370a105210c01 module sha256 diff --git a/vlib/crypto/sha512/sha512.v b/vlib/crypto/sha512/sha512.v index 74d6f9341d..5b92600e01 100644 --- a/vlib/crypto/sha512/sha512.v +++ b/vlib/crypto/sha512/sha512.v @@ -5,7 +5,8 @@ // Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 // hash algorithms as defined in FIPS 180-4. -// Adaped from https://github.com/golang/go/tree/master/src/crypto/sha512 +// Based off: https://github.com/golang/go/tree/master/src/crypto/sha512 +// Last commit: https://github.com/golang/go/commit/3ce865d7a0b88714cc433454ae2370a105210c01 module sha512