Added a metod that gets package name and device id and uses it as inputs to key generation