i need to create a hardware hash for product activation, whats the best way to do this? and any demo code is great (the code doesnt need to be fast)