@substrate-system/simple-aes
    Preparing search index...

    Function decryptMessage

    • Take a message and a base64url encoded string as a key. Return the decrypted message object.

      Parameters

      • msg: { content: string }

        The message object

      • keyString: string

        The base64url encoded key

      Returns Promise<{ content: string }>

      The decrypted message object.