13 Commits (9f5dfd5fc828d36bf8ff47cd6b32879d6e7556da)

Author SHA1 Message Date
trivernis 5038198256 Change cli syntax 5 years ago
trivernis ce4242f87f Change Password derivation function to use scrypt for the hash 5 years ago
trivernis 2136543726 Remove base64 encode/decode step
Remove the base64 encode/decode step as it only increases the size of the cipher but not the security.
5 years ago
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