You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code generates a SHA-256 hash for a file by prompting the user to enter the file path, reading the file into a buffer using the fs module, and then calculating the hash using the crypto module. The hash is output to the console and the program is terminated.