Adding encrypted card functionality