Implementing Crypto Functions and Games