GLEIF-IT / reg-pilot

A project to manage reg-pilot related issues
1 stars 2 forks source link

Add generateFileDIgest function for digest generation #44

Closed aydarng closed 2 weeks ago

aydarng commented 1 month ago

Created a draft because we cannot use sha-265 digests now, we need to update the verifier for that.

aydarng commented 1 month ago

signify-ts-test/test/utils/generate-digest.ts here you can find generateFileDigest() function which is used to generate digest of the provided file buffer and algorithm(ex. 'sha256').

aydarng commented 1 month ago

in the vlei-verification.test.ts on the line 230 you can find the example of using generateFileDigest function.

2byrds commented 2 weeks ago

@aydarng can this be closed?

aydarng commented 2 weeks ago

@aydarng can this be closed?

Yes