Added function to generate a password or key and store in local grains
Merge pull request #7573 from whiteinge/gen_hash_grains

Added function to generate a password or key and store in local grains