trivernis
8fca0a63de
Remove duplicated flags since it looks ugly in --help
5 years ago
trivernis
ee3e75640c
Add overwrite confirmation check if the output file exists
5 years ago
trivernis
5b82b7c06d
Add checksum verification for chunk data
5 years ago
trivernis
9f5dfd5fc8
Update README hash algorithm
5 years ago
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
29b0ed32f2
Update README
5 years ago
trivernis
9dac6d4d29
Update README
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
e0c508fb3c
Change `make([]byte, 0)` to type annotation
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
d340e93700
Remove storing raw data
...
Remove the storing of the raw chunk data and use ChunkData.GetRaw() insted to decrease the memory impact
5 years ago
trivernis
ecc098ea69
Update README
5 years ago
Trivernis
373cb61a90
Create LICENSE
5 years ago
trivernis
bc0ba17583
Add usage to 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
trivernis
ba7f0522b0
Initial commit
5 years ago