react-native-matrix-crypto
    Preparing search index...

    Interface CryptoMachineConfig

    interface CryptoMachineConfig {
        deviceId: string;
        storePassphrase: string | null;
        storePath: string;
        userId: string;
    }
    Index
    deviceId: string
    storePassphrase: string | null

    Required, not optional: an optional field lets a caller omit it by accident and get unencrypted key material with no signal. string | null forces the caller to write null deliberately, where a code review can see it. Spec section 6: the store is encrypted with whatever passphrase the product supplies here.

    storePath: string
    userId: string