

import { multiplexProviderFunction } from '../provider/multiplex-provider-function'
import { Sha1Hash } from '../../data-structures/hash-function'
import { PROVIDER_TYPE_HASH_FUNCTION } from '../../constants/provider'

const sha1Hash: Sha1Hash = sha1HashFunction

async function sha1HashFunction (_object: any, extract?: any): Promise<string[]> {
  return multiplexProviderFunction(PROVIDER_TYPE_HASH_FUNCTION, 'sha1Hash', [...arguments], extract)
}

export {
  sha1Hash
}
