Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Encryption

Interface for Encrypt and Decrypt. Contains general properties and methods used for encryption

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly key

key: Buffer

The key for the cipher / decipher

Methods

Abstract string

  • string(str: string): string
  • Encrypts / decrypts a given string

    Parameters

    • str: string

      The string to encrypt / decrypt

    Returns string

Generated using TypeDoc