10 Commits (9dac6d4d29932ccf623438877a41197c65557584)

Author SHA1 Message Date
trivernis a3d43dc9be Add salt to password hash and store it in an extra chunk
Add a salt that is appended to the input password and is stored in the `saLt` chunk
5 years ago
trivernis 7d274257bc Change storing of the data to use multiple chunks
Data needs to be stored in multiple chunks with a maximum size of 1MB in order for image viewers to still handle the files. Especially libpng had problems with too large chunks sizes.
5 years ago
trivernis ecc098ea69 Update README 5 years ago
trivernis 14d584e330 Add masked password input and hash
- Add password input that doesn't print the password
- Change the password to be hashed with sha512_256 to a 32 byte slice
5 years ago
trivernis 66f3be84ad Replace readFileFull with ioutil.ReadAll 5 years ago
trivernis 621633263f Add option to decrypt data from an image
Add flag -decrypt that decrypts the input image and writes the data into -out
5 years ago
trivernis 9a564afc5b Move png utility stuff to seperate file 5 years ago
trivernis fe56f9adfe Fix resulting image only containing chunk data 5 years ago
trivernis c8fbb62f07 Cleanup 5 years ago
trivernis 6f1aaff9aa Add main file [WIP]
Add cryptpng.go file as the main entrance. The writing of the data is currently not working.
5 years ago