Add crypto utils functions.