@loaders.gl/crypto
Version:
Cryptographic/hashing plugins for loaders.gl
13 lines • 390 B
JavaScript
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import { CryptoHash } from "./crypto-hash.js";
/**
* A transform that calculates Cryptographic Hash
*/
export class SHA256Hash extends CryptoHash {
constructor(options) {
super({ ...options, crypto: { ...options.crypto, algorithm: 'SHA256' } });
}
}
//# sourceMappingURL=sha256-hash.js.map