Smart Card Encoding for Access Control