import * as crypto from "../../../crypto/index.js";
import * as namefilters from "../private/namefilter.js";
export async function namefilter({ bareFilter, shareKey }) {
    const hashedKey = await crypto.hash.sha256Str(shareKey);
    return namefilters.saturate(await namefilters.addToBare(bareFilter, hashedKey));
}
//# sourceMappingURL=entry-index.js.map