diff options
Diffstat (limited to 'std')
-rw-r--r-- | std/hash/sha1_test.ts | 2 | ||||
-rw-r--r-- | std/hash/sha256.ts | 2 | ||||
-rw-r--r-- | std/hash/sha256_test.ts | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/std/hash/sha1_test.ts b/std/hash/sha1_test.ts index 0387c914a..36702d55a 100644 --- a/std/hash/sha1_test.ts +++ b/std/hash/sha1_test.ts @@ -18,7 +18,7 @@ function toHexString(value: number[] | ArrayBuffer): string { } // prettier-ignore -// dprint-ignore +// deno-fmt-ignore const fixtures: { sha1: Record<string, Record<string, Message>>; } = { diff --git a/std/hash/sha256.ts b/std/hash/sha256.ts index c5635cacd..61da5a578 100644 --- a/std/hash/sha256.ts +++ b/std/hash/sha256.ts @@ -15,7 +15,7 @@ const HEX_CHARS = "0123456789abcdef".split(""); const EXTRA = [-2147483648, 8388608, 32768, 128] as const; const SHIFT = [24, 16, 8, 0] as const; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore const K = [ 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, diff --git a/std/hash/sha256_test.ts b/std/hash/sha256_test.ts index 92c7e3d5b..68c67b5ee 100644 --- a/std/hash/sha256_test.ts +++ b/std/hash/sha256_test.ts @@ -19,7 +19,7 @@ function toHexString(value: number[] | ArrayBuffer): string { } // prettier-ignore -// dprint-ignore +// deno-fmt-ignore const fixtures: { sha256: Record<string, Record<string, Message>>; sha224: Record<string, Record<string, Message>>; @@ -158,35 +158,35 @@ const fixtures: { }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha256.Uint8Array = { '182889f925ae4e5cc37118ded6ed87f7bdc7cab5ec5e78faef2e50048999473f': new Uint8Array([211, 212]), 'd7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592': new Uint8Array([84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 108, 97, 122, 121, 32, 100, 111, 103]) }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha256.Int8Array = { 'd7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592': new Int8Array([84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 108, 97, 122, 121, 32, 100, 111, 103]) }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha256.ArrayBuffer = { 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': new ArrayBuffer(0), '6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d': new ArrayBuffer(1) }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha224.Uint8Array = { 'e17541396a3ecd1cd5a2b968b84e597e8eae3b0ea3127963bf48dd3b': new Uint8Array([211, 212]), '730e109bd7a8a32b1cb9d9a09aa2325d2430587ddbc0c38bad911525': new Uint8Array([84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 108, 97, 122, 121, 32, 100, 111, 103]) }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha224.Int8Array = { '730e109bd7a8a32b1cb9d9a09aa2325d2430587ddbc0c38bad911525': new Int8Array([84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 102, 111, 120, 32, 106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 108, 97, 122, 121, 32, 100, 111, 103]) }; // prettier-ignore -// dprint-ignore +// deno-fmt-ignore fixtures.sha224.ArrayBuffer = { 'd14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f': new ArrayBuffer(0), 'fff9292b4201617bdc4d3053fce02734166a683d7d858a7f5f59b073': new ArrayBuffer(1), |