Replace SHA1 to SHA256 on PUK generating logic