Module pnet/crypto

Index

Functions

createBoxStream

  • createBoxStream(nonce: Uint8Array, psk: Uint8Array): any
  • Parameters

    • nonce: Uint8Array
    • psk: Uint8Array

    Returns any

createUnboxStream

  • createUnboxStream(nonce: Uint8Array, psk: Uint8Array): any
  • Parameters

    • nonce: Uint8Array
    • psk: Uint8Array

    Returns any

decodeV1PSK

  • decodeV1PSK(pskBuffer: Uint8Array): any
  • Parameters

    • pskBuffer: Uint8Array

    Returns any