Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RSA

A static singleton class which provides RSA encryption methods.

Hierarchy

  • RSA

Index

Methods

Methods

Static encrypt

  • encrypt(msg: string): string
  • Encrypts the text with a hard-coded public key.

    Parameters

    • msg: string

      The text to encrypt.

    Returns string

Generated using TypeDoc