Skip to content

bloxberg API for MATLAB, supporting Proof of Existence of research data.

License

Notifications You must be signed in to change notification settings

internet-sicherheit/bloxberg-matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matlab Bloxberg implementation

Description

This is a Proof of Concept to certify and verify Matlab reseach data with the bloxberg network. This API can be used to verify the existence of a certain file in a specific point of time without sharing the file or its content itself.

Usage

1. Creating the MatlabBloxbergAPI instance

First the user has to create an instance of the MatlabBloxbergAPI by calling on of the two constructor functions.

Exsample:

MBB = MatlabBloxbergAPI('[AUTHORNAME]', [BUFFERSIZE]);

MBB = MatlabBloxbergAPI('[AUTHORNAME]', [BUFFERSIZE], '[CERTIFYURL]', '[VERIFYURL]');

The recommended [BUFFERSIZE] is 51200. The [CERTIFYURL] has to be https://certify.bloxberg.org/certifyData and the [VERIFYURL] https://certify.bloxberg.org/generateCertificate to communicate with the Bloxberg Network.

2. Certifing the research data

After creating the instance of the API the user certifies the data by calling the certifyData function.

Exsample:

MBB = certifyData(MBB, '[RESEARCHFILENAME]');

The [RESEARCHFILENAME] can be any type of Data. recommended is to certify a .mat file.

3. Generating the Certificate

At least the user generates a certificate of the research data by calling the generateCertificate function.

Exsample:

generateCertificate(MBB, '[CERTIFICATEOUTPUTPATH]', '[CERTIFICATEFILENAME]');

The [CERTIFICATEOUTPUTPATH] specifies the path of the certificate and [CERTIFICATEFILENAME] is the name of the generated certificate.

Complete exsample

MBB = MatlabBloxbergAPI('Max Mustermann', 51200, 'https://certify.bloxberg.org/certifyData', 'https://certify.bloxberg.org/generateCertificate');
MBB = certifyData(MBB, 'researchdata.mat');
generateCertificate(MBB, 'C:\Users\Max\Desktop', 'mycertificate.pdf');

About

bloxberg API for MATLAB, supporting Proof of Existence of research data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages