// 1st-party
import { ServiceMethodFactory } from "@ethicdevs/react-monolith";
// app
import { CryptoServiceDeps } from "./types";
const makeComputeHash: ServiceMethodFactory<
CryptoServiceDeps,
[string, string],
string
> = (deps) => {
return (strToHash, salt) => {
return deps.hash(strToHash, salt);
};
};
export default makeComputeHash;