Record of model names to their SHA256 hashes
const allHashes = getAllModelHashes();
console.log('Configured models:', Object.keys(allHashes));
// Check if a specific model has a hash
if ('u2net.onnx' in allHashes) {
console.log('u2net has integrity verification enabled');
}
Get all known model hashes.
Returns a copy of all configured model hashes. The returned object is a shallow copy, so modifications won't affect the internal hash store.