@rvoh/dream
    Preparing search index...

    Interface DecryptCallbacks

    interface DecryptCallbacks {
        onLegacyKeyUsed?: () => void;
    }
    Index

    Properties

    Properties

    onLegacyKeyUsed?: () => void

    Called with no arguments, synchronously, before a three-arg Encrypt.decrypt returns a value that the legacy key opened. Never called when the current key opens the value, when decryption throws, or in the two-arg form.