How to transform source code into digital hash summary?

Asked

Viewed 4,728 times

4

For registration of a software, it is requested:

  • Perform the transformation of the technical documentation (source code) into digital hash summary;

the INPI documentation also states: [...]The hash abstract is a fixed-length text containing letters and numbers, which must be copied and pasted in the corresponding field of the electronic form[...]

How do I do that?

  • Managed to perform the procedure?

  • Yes David. Just pass the project folder, it can be the compressed folder in a Winrar, by a HASH algorithm (https://pt.wikipedia.org/wiki/Fun%C3%A7%C3%A3o_hash). Anyone. The algorithm used needs to be informed later.

  • The way you will accomplish this, it can be either by developing a script that does this for you or some websites that do it for you, and generate the resulting HASH.

  • All right. In a few days I’ll need to.. I’ll take this opportunity and put an answer here.. Thank you

1 answer

5


I had the same doubts as you when registering one of the systems here in the company. I’ll share here the way I found to create the digital hash summary.

1) I downloaded our code repository and downloaded a copy of the repository, projeto.zip

2) I accessed 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 on the INPI website.

OBS: The command shasum -a 512 generated me an encryption SHA-512, but you can opt for other encryption, just take a look at the command help.

  • What happens when you have to solve a bug or a small upgrade? vc should generate a new hash and make another record?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.