Add encryption methods.