The security is done via SSL (Secure Socket Layer) encryption technology, which is currently the most reliable and widespread on the Internet.
Your credit card number and expiration date are always encrypted and never circulate unencrypted on the network.