crosbymichael/crypt — pull request #2 by crosbymichael (2014-11-24 19:14:57+00:00)
Title: Use random iv

Fixes #1

Generate a random IV for encryption and save it as the first bytes in the file.
For decryption read only the length of the block size for aes and use the IV that was saved there.

@tonistiigi how does this look?