mona-dish
    Preparing search index...

    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: 
        }
    

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • data: any

        the encrypted data in the format you expect it to be

      Returns any

      the unencrypted data

    • note anything can be passed

      Parameters

      • data: any

        the data to be encrypted

      Returns { encryptedData: string }

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