1. A method for transforming a biometric of a user to a binary feature vector suitable for user authentication, comprising steps of: partitioning the biometric into a set of regions, wherein each region is a contiguous region confining a part of the biometric; determining, for each region, biometric parameters; applying, to each region, a binary logical condition to produce at least one bit of the binary feature vector, wherein the applying is performed by a processer; and outputting the binary feature vector.