Data security : an application of linear algebra