Python Forum
Create file archive that contains crypto hash - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Create file archive that contains crypto hash (/thread-18716.html)



Create file archive that contains crypto hash - ED209 - May-28-2019

Hi All,
I'm looking for some expertise on using python to do some file archiving and cryptographic hashing.
I'm hoping to create something that will move files into archive blocks. Each block will have a unique block number, hash of the block, hash of previous block and then the data itself. Basically it'll be a very simple block chain of sorts.
I'm not great at programming so before I start looking into how to do this I wanted to ask people with more knowledge if they think this could be possible to do in python?

Cheers in advance for any advice..


RE: Create file archive that contains crypto hash - heiner55 - May-29-2019

You could begin with the zip libary:
https://docs.python.org/3/library/zipfile.html