summaryrefslogtreecommitdiff
path: root/std/hash
diff options
context:
space:
mode:
Diffstat (limited to 'std/hash')
-rw-r--r--std/hash/_fnv/fnv32.ts2
-rw-r--r--std/hash/_fnv/fnv64.ts2
-rw-r--r--std/hash/_fnv/util.ts2
-rw-r--r--std/hash/_fnv/util_test.ts2
-rw-r--r--std/hash/_sha3/keccak.ts2
-rw-r--r--std/hash/_sha3/keccakf.ts2
-rw-r--r--std/hash/_sha3/sha3.ts2
-rw-r--r--std/hash/_sha3/shake.ts2
-rw-r--r--std/hash/_sha3/sponge.ts2
-rw-r--r--std/hash/_wasm/build.ts2
-rw-r--r--std/hash/_wasm/hash.ts2
-rw-r--r--std/hash/_wasm/src/lib.rs2
-rw-r--r--std/hash/fnv.ts2
-rw-r--r--std/hash/fnv_test.ts2
-rw-r--r--std/hash/hasher.ts2
-rw-r--r--std/hash/md5.ts2
-rw-r--r--std/hash/md5_test.ts2
-rw-r--r--std/hash/mod.ts2
-rw-r--r--std/hash/sha1.ts2
-rw-r--r--std/hash/sha1_test.ts2
-rw-r--r--std/hash/sha256.ts2
-rw-r--r--std/hash/sha256_test.ts2
-rw-r--r--std/hash/sha3.ts2
-rw-r--r--std/hash/sha3_test.ts2
-rw-r--r--std/hash/sha512.ts2
-rw-r--r--std/hash/sha512_test.ts2
-rw-r--r--std/hash/test.ts2
27 files changed, 27 insertions, 27 deletions
diff --git a/std/hash/_fnv/fnv32.ts b/std/hash/_fnv/fnv32.ts
index 9547e1199..679d44a62 100644
--- a/std/hash/_fnv/fnv32.ts
+++ b/std/hash/_fnv/fnv32.ts
@@ -2,7 +2,7 @@
// https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go
// Copyright 2011 The Go Authors. All rights reserved. BSD license.
// https://github.com/golang/go/blob/master/LICENSE
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { mul32 } from "./util.ts";
diff --git a/std/hash/_fnv/fnv64.ts b/std/hash/_fnv/fnv64.ts
index 8a5b5187d..882636d0e 100644
--- a/std/hash/_fnv/fnv64.ts
+++ b/std/hash/_fnv/fnv64.ts
@@ -2,7 +2,7 @@
// https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go
// Copyright 2011 The Go Authors. All rights reserved. BSD license.
// https://github.com/golang/go/blob/master/LICENSE
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { mul64 } from "./util.ts";
diff --git a/std/hash/_fnv/util.ts b/std/hash/_fnv/util.ts
index 096b70815..8afed8e82 100644
--- a/std/hash/_fnv/util.ts
+++ b/std/hash/_fnv/util.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
function n16(n: number): number {
return n & 0xffff;
diff --git a/std/hash/_fnv/util_test.ts b/std/hash/_fnv/util_test.ts
index 5e31a98bd..fb9dd3208 100644
--- a/std/hash/_fnv/util_test.ts
+++ b/std/hash/_fnv/util_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../../testing/asserts.ts";
import { mul32, mul64 } from "./util.ts";
diff --git a/std/hash/_sha3/keccak.ts b/std/hash/_sha3/keccak.ts
index 67cccca3c..403a2dcb0 100644
--- a/std/hash/_sha3/keccak.ts
+++ b/std/hash/_sha3/keccak.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Sponge } from "./sponge.ts";
import { keccakf } from "./keccakf.ts";
diff --git a/std/hash/_sha3/keccakf.ts b/std/hash/_sha3/keccakf.ts
index 8db90b1a4..0ba2b870c 100644
--- a/std/hash/_sha3/keccakf.ts
+++ b/std/hash/_sha3/keccakf.ts
@@ -2,7 +2,7 @@
// https://github.com/golang/crypto/blob/master/sha3/keccakf.go
// Copyright 2011 The Go Authors. All rights reserved. BSD license.
// https://github.com/golang/go/blob/master/LICENSE
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const KECCAK_ROUNDS = 24;
const KECCAK_RC: number[] = [
diff --git a/std/hash/_sha3/sha3.ts b/std/hash/_sha3/sha3.ts
index 4aa50b900..2966ce2a4 100644
--- a/std/hash/_sha3/sha3.ts
+++ b/std/hash/_sha3/sha3.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Sponge } from "./sponge.ts";
import { keccakf } from "./keccakf.ts";
diff --git a/std/hash/_sha3/shake.ts b/std/hash/_sha3/shake.ts
index 05c699ea5..4fe24d7cf 100644
--- a/std/hash/_sha3/shake.ts
+++ b/std/hash/_sha3/shake.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Sponge } from "./sponge.ts";
import { keccakf } from "./keccakf.ts";
diff --git a/std/hash/_sha3/sponge.ts b/std/hash/_sha3/sponge.ts
index a5705e13e..9ad67ca07 100644
--- a/std/hash/_sha3/sponge.ts
+++ b/std/hash/_sha3/sponge.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as hex from "../../encoding/hex.ts";
diff --git a/std/hash/_wasm/build.ts b/std/hash/_wasm/build.ts
index 43553b272..a328c2615 100644
--- a/std/hash/_wasm/build.ts
+++ b/std/hash/_wasm/build.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { encode as base64Encode } from "../../encoding/base64.ts";
diff --git a/std/hash/_wasm/hash.ts b/std/hash/_wasm/hash.ts
index 43ddf77f3..eb6636dab 100644
--- a/std/hash/_wasm/hash.ts
+++ b/std/hash/_wasm/hash.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import init, {
source,
diff --git a/std/hash/_wasm/src/lib.rs b/std/hash/_wasm/src/lib.rs
index e88f272cf..7e72a7471 100644
--- a/std/hash/_wasm/src/lib.rs
+++ b/std/hash/_wasm/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use digest::{Digest, DynDigest};
use wasm_bindgen::prelude::*;
diff --git a/std/hash/fnv.ts b/std/hash/fnv.ts
index ecabd4239..8c0ba21c1 100644
--- a/std/hash/fnv.ts
+++ b/std/hash/fnv.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export { Fnv32, Fnv32a } from "./_fnv/fnv32.ts";
export { Fnv64, Fnv64a } from "./_fnv/fnv64.ts";
diff --git a/std/hash/fnv_test.ts b/std/hash/fnv_test.ts
index 20209703a..923c63d9e 100644
--- a/std/hash/fnv_test.ts
+++ b/std/hash/fnv_test.ts
@@ -2,7 +2,7 @@
// https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv_test.go
// Copyright 2011 The Go Authors. All rights reserved. BSD license.
// https://github.com/golang/go/blob/master/LICENSE
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { Fnv32, Fnv32a, Fnv64, Fnv64a } from "./fnv.ts";
diff --git a/std/hash/hasher.ts b/std/hash/hasher.ts
index 2d941d38f..e04cb56ef 100644
--- a/std/hash/hasher.ts
+++ b/std/hash/hasher.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export type Message = string | ArrayBuffer;
export type OutputFormat = "hex" | "base64";
diff --git a/std/hash/md5.ts b/std/hash/md5.ts
index 0e7017bc9..36984d3ab 100644
--- a/std/hash/md5.ts
+++ b/std/hash/md5.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as hex from "../encoding/hex.ts";
diff --git a/std/hash/md5_test.ts b/std/hash/md5_test.ts
index 89bd249ab..ebdc873dd 100644
--- a/std/hash/md5_test.ts
+++ b/std/hash/md5_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { Md5 } from "./md5.ts";
diff --git a/std/hash/mod.ts b/std/hash/mod.ts
index 06c9ce439..7ab4dbbc4 100644
--- a/std/hash/mod.ts
+++ b/std/hash/mod.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Hash } from "./_wasm/hash.ts";
import type { Hasher } from "./hasher.ts";
diff --git a/std/hash/sha1.ts b/std/hash/sha1.ts
index b30ccb6b6..91b1f0de9 100644
--- a/std/hash/sha1.ts
+++ b/std/hash/sha1.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
diff --git a/std/hash/sha1_test.ts b/std/hash/sha1_test.ts
index fae57e2f2..fc66df0bf 100644
--- a/std/hash/sha1_test.ts
+++ b/std/hash/sha1_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { HmacSha1, Message, Sha1 } from "./sha1.ts";
import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts";
diff --git a/std/hash/sha256.ts b/std/hash/sha256.ts
index d1516711f..a566f838a 100644
--- a/std/hash/sha256.ts
+++ b/std/hash/sha256.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/*
* Adapted to deno from:
*
diff --git a/std/hash/sha256_test.ts b/std/hash/sha256_test.ts
index 1d03ea987..1ca929223 100644
--- a/std/hash/sha256_test.ts
+++ b/std/hash/sha256_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { HmacSha256, Message, Sha256 } from "./sha256.ts";
import { assertEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts";
diff --git a/std/hash/sha3.ts b/std/hash/sha3.ts
index 33ae4a8d0..2bfbd6d7b 100644
--- a/std/hash/sha3.ts
+++ b/std/hash/sha3.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export { Sha3_224, Sha3_256, Sha3_384, Sha3_512 } from "./_sha3/sha3.ts";
export { Keccak224, Keccak256, Keccak384, Keccak512 } from "./_sha3/keccak.ts";
diff --git a/std/hash/sha3_test.ts b/std/hash/sha3_test.ts
index cfdce0553..5ceea075d 100644
--- a/std/hash/sha3_test.ts
+++ b/std/hash/sha3_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrows } from "../testing/asserts.ts";
import {
diff --git a/std/hash/sha512.ts b/std/hash/sha512.ts
index 409dc8994..98b0fec31 100644
--- a/std/hash/sha512.ts
+++ b/std/hash/sha512.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha512]{@link https://github.com/emn178/js-sha512}
*
diff --git a/std/hash/sha512_test.ts b/std/hash/sha512_test.ts
index b9f72b150..97f199b4d 100644
--- a/std/hash/sha512_test.ts
+++ b/std/hash/sha512_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { HmacSha512, Message, Sha512 } from "./sha512.ts";
import { assertEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts";
diff --git a/std/hash/test.ts b/std/hash/test.ts
index 4d7d7465d..31540e384 100644
--- a/std/hash/test.ts
+++ b/std/hash/test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrows } from "../testing/asserts.ts";
import { createHash, SupportedAlgorithm } from "./mod.ts";