Adding prototype crypto handler code.