Class JSONCrypto

basic json stringify encryption impl this does not really full encryption except for a standard json stringyfywith an encapsulation json

the return value resembles:

    {
        encryptedData: 
    }

Hierarchy

  • JSONCrypto

Implements

Constructors

Methods

Constructors

Methods

  • Returns

    the unencrypted data

    Parameters

    • data: any

      the encrypted data in the format you expect it to be

    Returns any

  • note anything can be passed

    Returns

    the encrypted data in any format, important is decode must be able to handle it

    Parameters

    • data: any

      the data to be encrypted

    Returns { encryptedData: string }

    • encryptedData: string

Generated using TypeDoc