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

Type Parameters

  • T

Type declaration

    • (buffer): T
    • Returns the intended type of the object to return. This is implementation specific.

      Parameters

      • buffer: Buffer

        A buffer containing the decrypted secret.

      Returns T