Removed HMAC function
Updated the fuction to create a new registry for an iDevice