1
0
Fork 0
mirror of https://github.com/Luzifer/go-openssl.git synced 2024-10-18 06:14:21 +00:00
Commit graph

8 commits

Author SHA1 Message Date
54263e5c8a
Add salt validation and improve comments
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-18 15:49:33 +02:00
Vojta Bartoš
317731a683 Added ability to pass custom salt to everyencrypt call
- created new function for encryption string which takes salt as an argument and original encrypt string is just passing generated salt as argument
2017-09-18 15:14:20 +02:00
08db5147e8
Adhere to example name conventions
(enforced by `go vet`)

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-04 23:53:27 +02:00
84e5195305
Add commit checks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-04 23:53:17 +02:00
Knut Ahlers
2ef3173d65 Merge pull request #2 from ben-turner/patch-1
Check blocksize before retrieving Salt Header
2017-04-04 23:39:59 +02:00
Ben Turner
e9e25cd005 Check blocksize before retrieving Salt Header
`saltHeader := data[:aes.BlockSize]` will panic if the data provided is smaller than one AES Block. Return an error instead.
2017-04-04 14:08:20 -07:00
52f8120aba Added hint about compatibility to CryptoJS
closes #1
2015-12-01 14:43:22 +01:00
5c6e757983 Initial version of go-openssl 2015-07-17 23:50:24 +02:00