Text this: Device-independent quantum key distribution with random key basis