Namespace generate

Callable

  • generate(bytes: Uint8Array): void
  • Generates a PSK that can be used in a libp2p-pnet private network

    Parameters

    • bytes: Uint8Array

      An object to write the psk into

    Returns void

Index

References

KEY_LENGTH

Re-exports KEY_LENGTH

NONCE_LENGTH

Re-exports NONCE_LENGTH