DecipherCallback<T>: ((buffer) => T)

Returns the intended type of the object to return. This is implementation specific.

Type Parameters

  • T

Type declaration

    • (buffer): T
    • Parameters

      • buffer: Buffer

        A buffer containing the decrypted secret.

      Returns T