Rapid prototyping of smart cards