strengthened the encryption methods