UNPKG

@worker-tools/deno-kv-storage

Version:

An implementation of the StorageArea (1,2,3) interface for Deno with an extensible system for supporting various database backends.

63 lines 2.17 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.digestAlgorithms = exports.crypto = void 0; // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. exports.crypto = __importStar(require("./crypto.js")); /** * All cryptographic hash/digest algorithms supported by std/_wasm_crypto. * * For algorithms that are supported by WebCrypto, the name here must match the * one used by WebCrypto. Otherwise we should prefer the formatting used in the * official specification. All names are uppercase to facilitate case-insensitive * comparisons required by the WebCrypto spec. */ exports.digestAlgorithms = [ "BLAKE2B-256", "BLAKE2B-384", "BLAKE2B", "BLAKE2S", "BLAKE3", "KECCAK-224", "KECCAK-256", "KECCAK-384", "KECCAK-512", "SHA-384", "SHA3-224", "SHA3-256", "SHA3-384", "SHA3-512", "SHAKE128", "SHAKE256", // insecure (length-extendable): "RIPEMD-160", "SHA-224", "SHA-256", "SHA-512", // insecure (collidable and length-extendable): "MD5", "SHA-1", ]; //# sourceMappingURL=mod.js.map