Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • sha512
    • sha512_256

Index

Constructors

constructor

  • Returns sha512_256

Properties

allowHalfOpen

allowHalfOpen: boolean

destroyed

destroyed: boolean

readable

readable: boolean

Readonly readableEncoding

readableEncoding: null | BufferEncoding

Readonly readableEnded

readableEnded: boolean

Readonly readableFlowing

readableFlowing: null | boolean

Readonly readableHighWaterMark

readableHighWaterMark: number

Readonly readableLength

readableLength: number

Readonly readableObjectMode

readableObjectMode: boolean

Readonly writable

writable: boolean

Readonly writableCorked

writableCorked: number

Readonly writableEnded

writableEnded: boolean

Readonly writableFinished

writableFinished: boolean

Readonly writableHighWaterMark

writableHighWaterMark: number

Readonly writableLength

writableLength: number

Readonly writableObjectMode

writableObjectMode: boolean

Methods

[Symbol.asyncIterator]

  • [Symbol.asyncIterator](): AsyncIterableIterator<any>
  • Returns AsyncIterableIterator<any>

_destroy

  • _destroy(error: null | Error, callback: (error: null | Error) => void): void
  • Parameters

    • error: null | Error
    • callback: (error: null | Error) => void
        • (error: null | Error): void
        • Parameters

          • error: null | Error

          Returns void

    Returns void

_final

  • _final(callback: (error?: null | Error) => void): void
  • Parameters

    • callback: (error?: null | Error) => void
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

_flush

  • _flush(callback: TransformCallback): void
  • Parameters

    • callback: TransformCallback

    Returns void

_read

  • _read(size: number): void
  • Parameters

    • size: number

    Returns void

_transform

  • _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void
  • Parameters

    • chunk: any
    • encoding: BufferEncoding
    • callback: TransformCallback

    Returns void

_write

  • _write(chunk: any, encoding: BufferEncoding, callback: (error?: null | Error) => void): void
  • Parameters

    • chunk: any
    • encoding: BufferEncoding
    • callback: (error?: null | Error) => void
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

Optional _writev

  • _writev(chunks: { chunk: any; encoding: BufferEncoding }[], callback: (error?: null | Error) => void): void
  • Parameters

    • chunks: { chunk: any; encoding: BufferEncoding }[]
    • callback: (error?: null | Error) => void
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

addListener

  • addListener(event: "close", listener: () => void): sha512_256
  • addListener(event: "data", listener: (chunk: any) => void): sha512_256
  • addListener(event: "end", listener: () => void): sha512_256
  • addListener(event: "error", listener: (err: Error) => void): sha512_256
  • addListener(event: "pause", listener: () => void): sha512_256
  • addListener(event: "readable", listener: () => void): sha512_256
  • addListener(event: "resume", listener: () => void): sha512_256
  • addListener(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Event emitter The defined events on documents including:

    1. close
    2. data
    3. end
    4. error
    5. pause
    6. readable
    7. resume

    Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

copy

  • copy(): Hash
  • Returns Hash

cork

  • cork(): void
  • Returns void

destroy

  • Parameters

    • Optional error: Error

    Returns sha512_256

digest

  • digest(): Buffer
  • digest(encoding: BufferEncoding): string
  • Returns Buffer

  • Parameters

    • encoding: BufferEncoding

    Returns string

emit

  • emit(event: "close"): boolean
  • emit(event: "data", chunk: any): boolean
  • emit(event: "end"): boolean
  • emit(event: "error", err: Error): boolean
  • emit(event: "pause"): boolean
  • emit(event: "readable"): boolean
  • emit(event: "resume"): boolean
  • emit(event: string | symbol, ...args: any[]): boolean
  • Parameters

    • event: "close"

    Returns boolean

  • Parameters

    • event: "data"
    • chunk: any

    Returns boolean

  • Parameters

    • event: "end"

    Returns boolean

  • Parameters

    • event: "error"
    • err: Error

    Returns boolean

  • Parameters

    • event: "pause"

    Returns boolean

  • Parameters

    • event: "readable"

    Returns boolean

  • Parameters

    • event: "resume"

    Returns boolean

  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

end

  • end(cb?: () => void): sha512_256
  • end(chunk: any, cb?: () => void): sha512_256
  • end(chunk: any, encoding?: BufferEncoding, cb?: () => void): sha512_256
  • Parameters

    • Optional cb: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • chunk: any
    • Optional cb: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • chunk: any
    • Optional encoding: BufferEncoding
    • Optional cb: () => void
        • (): void
        • Returns void

    Returns sha512_256

eventNames

  • eventNames(): (string | symbol)[]
  • Returns (string | symbol)[]

getMaxListeners

  • getMaxListeners(): number
  • Returns number

isPaused

  • isPaused(): boolean
  • Returns boolean

listenerCount

  • listenerCount(event: string | symbol): number
  • Parameters

    • event: string | symbol

    Returns number

listeners

  • listeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

off

  • off(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

on

  • on(event: "close", listener: () => void): sha512_256
  • on(event: "data", listener: (chunk: any) => void): sha512_256
  • on(event: "end", listener: () => void): sha512_256
  • on(event: "error", listener: (err: Error) => void): sha512_256
  • on(event: "pause", listener: () => void): sha512_256
  • on(event: "readable", listener: () => void): sha512_256
  • on(event: "resume", listener: () => void): sha512_256
  • on(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

once

  • once(event: "close", listener: () => void): sha512_256
  • once(event: "data", listener: (chunk: any) => void): sha512_256
  • once(event: "end", listener: () => void): sha512_256
  • once(event: "error", listener: (err: Error) => void): sha512_256
  • once(event: "pause", listener: () => void): sha512_256
  • once(event: "readable", listener: () => void): sha512_256
  • once(event: "resume", listener: () => void): sha512_256
  • once(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

pause

  • Returns sha512_256

pipe

  • pipe<T>(destination: T, options?: { end?: boolean }): T
  • Type parameters

    • T: WritableStream<T>

    Parameters

    • destination: T
    • Optional options: { end?: boolean }
      • Optional end?: boolean

    Returns T

prependListener

  • prependListener(event: "close", listener: () => void): sha512_256
  • prependListener(event: "data", listener: (chunk: any) => void): sha512_256
  • prependListener(event: "end", listener: () => void): sha512_256
  • prependListener(event: "error", listener: (err: Error) => void): sha512_256
  • prependListener(event: "pause", listener: () => void): sha512_256
  • prependListener(event: "readable", listener: () => void): sha512_256
  • prependListener(event: "resume", listener: () => void): sha512_256
  • prependListener(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

prependOnceListener

  • prependOnceListener(event: "close", listener: () => void): sha512_256
  • prependOnceListener(event: "data", listener: (chunk: any) => void): sha512_256
  • prependOnceListener(event: "end", listener: () => void): sha512_256
  • prependOnceListener(event: "error", listener: (err: Error) => void): sha512_256
  • prependOnceListener(event: "pause", listener: () => void): sha512_256
  • prependOnceListener(event: "readable", listener: () => void): sha512_256
  • prependOnceListener(event: "resume", listener: () => void): sha512_256
  • prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

push

  • push(chunk: any, encoding?: BufferEncoding): boolean
  • Parameters

    • chunk: any
    • Optional encoding: BufferEncoding

    Returns boolean

rawListeners

  • rawListeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

read

  • read(size?: number): any
  • Parameters

    • Optional size: number

    Returns any

removeAllListeners

  • removeAllListeners(event?: string | symbol): sha512_256
  • Parameters

    • Optional event: string | symbol

    Returns sha512_256

removeListener

  • removeListener(event: "close", listener: () => void): sha512_256
  • removeListener(event: "data", listener: (chunk: any) => void): sha512_256
  • removeListener(event: "end", listener: () => void): sha512_256
  • removeListener(event: "error", listener: (err: Error) => void): sha512_256
  • removeListener(event: "pause", listener: () => void): sha512_256
  • removeListener(event: "readable", listener: () => void): sha512_256
  • removeListener(event: "resume", listener: () => void): sha512_256
  • removeListener(event: string | symbol, listener: (...args: any[]) => void): sha512_256
  • Parameters

    • event: "close"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "data"
    • listener: (chunk: any) => void
        • (chunk: any): void
        • Parameters

          • chunk: any

          Returns void

    Returns sha512_256

  • Parameters

    • event: "end"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "error"
    • listener: (err: Error) => void
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns sha512_256

  • Parameters

    • event: "pause"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "readable"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: "resume"
    • listener: () => void
        • (): void
        • Returns void

    Returns sha512_256

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns sha512_256

resume

  • Returns sha512_256

setDefaultEncoding

  • setDefaultEncoding(encoding: BufferEncoding): sha512_256
  • Parameters

    • encoding: BufferEncoding

    Returns sha512_256

setEncoding

  • setEncoding(encoding: BufferEncoding): sha512_256
  • Parameters

    • encoding: BufferEncoding

    Returns sha512_256

setMaxListeners

  • Parameters

    • n: number

    Returns sha512_256

uncork

  • uncork(): void
  • Returns void

unpipe

  • unpipe(destination?: WritableStream): sha512_256
  • Parameters

    • Optional destination: WritableStream

    Returns sha512_256

unshift

  • unshift(chunk: any, encoding?: BufferEncoding): void
  • Parameters

    • chunk: any
    • Optional encoding: BufferEncoding

    Returns void

update

  • update(data: BinaryLike): Hash
  • update(data: string, input_encoding: Encoding): Hash
  • Parameters

    • data: BinaryLike

    Returns Hash

  • Parameters

    • data: string
    • input_encoding: Encoding

    Returns Hash

wrap

  • Parameters

    • oldStream: ReadableStream

    Returns sha512_256

write

  • write(chunk: any, encoding?: BufferEncoding, cb?: (error: undefined | null | Error) => void): boolean
  • write(chunk: any, cb?: (error: undefined | null | Error) => void): boolean
  • Parameters

    • chunk: any
    • Optional encoding: BufferEncoding
    • Optional cb: (error: undefined | null | Error) => void
        • (error: undefined | null | Error): void
        • Parameters

          • error: undefined | null | Error

          Returns void

    Returns boolean

  • Parameters

    • chunk: any
    • Optional cb: (error: undefined | null | Error) => void
        • (error: undefined | null | Error): void
        • Parameters

          • error: undefined | null | Error

          Returns void

    Returns boolean

Generated using TypeDoc