Sample code for 30+ languages & platforms
PHP

RSA Examples for Chilkat2 PHP