Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RC4

Index

Constructors

Methods

Constructors

constructor

  • new RC4(seed: string): RC4
  • constructor

    Parameters

    • seed: string

      A string to seed the generator.

    Returns RC4

Methods

_swap

  • _swap(i: number, j: number): void

mix

  • mix(seed: string): void
  • Mix additional entropy into this generator.

    Parameters

    • seed: string

    Returns void

next

  • next(): number
  • Returns number

    The next byte of output from the generator.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc