Text this: Exploiting switching properties of non-volatile memory chips for data security applications