import { blake2AsHex } from "@polkadot/util-crypto";
export const blake2Concat = (input, bitLength = 128) => {
    const inputHash = blake2AsHex(input, bitLength);
    const inputHex = [...input]
        .map((x) => x.toString(16).padStart(2, "0"))
        .join("");
    return `${inputHash}${inputHex}`;
};
//# sourceMappingURL=util.js.map