Fix crypto errors.

This commit is contained in:
Mike Cao 2022-08-29 08:31:16 -07:00
parent 5f07cecc95
commit efb52f5ff1
2 changed files with 3 additions and 3 deletions

View file

@ -15,5 +15,5 @@ export function salt() {
export function uuid(...args) {
if (!args.length) return v4();
return v5(args.join(''), salt());
return v5(hash([...args, salt()]), v5.DNS);
}