A slow, inflexible and weak (but minimalist and educational) implementation of RSA in bc.