How to transform source code into digital hash summary? [closed]
want to improve this question? Add details and make it clearer what problem is being solved by editing this post .
Closed 2 years ago .
improve this questionFor registration of a software, it is requested:
- perform transformation of technical documentation (source code) into digital summary hash;
The INPI documentation also states: [...] The hash abstract is a fixed-length text containing letters and numbers, which must be copied and pasted into the corresponding field of the electronic form [...]
How do I generate this?
1 answers
I had the same doubts as you when registering one of the company's systems here. I will share here the way I found to create the digital hash summary.
1) I went to our code repository and downloaded a copy of the repository, projeto.zip
2) I went to the Mac terminal, went to the place where the compressed file was and ran the following command: shasum -a 512 projeto.zip
3) I copied the generated key and reported it on the INPI website.
OBS: the command shasum -a 512
generated me one encryption SHA-512, but you can opt for other encryptions, just take a look at the command's help.