Interface Cipher

Index

Methods

Methods

public createDecipher(algorithm: string, password: any): Decipher

Parameters

  • algorithm: string
  • password: any

Returns

Decipher

public createDecipheriv(algorithm: string, key: any, iv: any): Decipher

Parameters

  • algorithm: string
  • key: any
  • iv: any

Returns

Decipher

public final(output_encoding?: string): string

Parameters

  • output_encoding?: string optional

Returns

string

public setAutoPadding(auto_padding: boolean)

Parameters

  • auto_padding: boolean

public update(data: any, input_encoding?: string, output_encoding?: string): string

Parameters

  • data: any
  • input_encoding?: string optional
  • output_encoding?: string optional

Returns

string