UNPKG

@iexec/web3mail

Version:

This product enables users to confidentially store data–such as mail address, documents, personal information ...

7 lines (5 loc) 192 B
import { randomBytes } from '@ethersproject/random'; import { hexlify } from '@ethersproject/bytes'; export function generateSecureUniqueId(length) { return hexlify(randomBytes(length)); }