"use strict"; // Copyright (C) 2016 Dmitry Chestnykh // MIT License. See LICENSE file for details. Object.defineProperty(exports, "__esModule", { value: true }); function isSerializableHash(h) { return (typeof h.saveState !== "undefined" && typeof h.restoreState !== "undefined" && typeof h.cleanSavedState !== "undefined"); } exports.isSerializableHash = isSerializableHash; // TODO(dchest): figure out the standardized interface for XOF such as // SHAKE and BLAKE2X. //# sourceMappingURL=hash.js.map