Use product form multiplication in key generation