makeNonce function

Nonce makeNonce()

Implementation

Nonce makeNonce() {
  return Nonce.fromList(
    lebEncode(
      BigInt.from(DateTime.now().millisecondsSinceEpoch) * BigInt.from(100000) +
          BigInt.from((Random.secure().nextInt(1) * 100000).floor()),
    ),
  );
}