Compressed Fingerprint Matching and Camera Identification via Random Projections