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

41 commits

Author SHA1 Message Date
46d355c674
Update documentation to use modules format
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-13 18:50:55 +02:00
fe4ccb6897
prepare release v4.1.0 2020-06-13 18:17:12 +02:00
3d3b55e02b
Add pre-defined generators and compatibility tests for SHA384 and SHA512
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-13 18:12:42 +02:00
0aca51aceb
Update link for pkg docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-13 15:40:43 +02:00
79b0628aae
prepare release v4.0.0 2020-06-13 15:30:17 +02:00
0d93c15cab
Breaking: Implement PBKFD2 key derivation (#18) 2020-06-13 15:29:46 +02:00
3eef5a5be8
prepare release v3.1.0 2019-04-29 16:59:22 +02:00
cfe466e70a
Test: Drop support for pre-1.10, add 1.12
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-29 16:50:41 +02:00
a261c590f2
Test: Sort tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-29 16:49:10 +02:00
32b48c865b
Test: Simplify / cleanup test file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-29 16:49:06 +02:00
Owen McGill
9b5d475a0b Add encrypt/decrypt without base64 encoding
The DecryptBinaryBytes, EncryptBinaryBytes* methods allow the data
being decrypted/encrypted to be in a binary form, not base64.

Addresses issue #14.

Signed-off-by: Owen McGill <mcgillo.rnx@gmail.com>
2019-04-29 15:38:49 +02:00
8aab137b28
prepare release v3.0.1 2019-01-29 15:48:45 +01:00
7a3064b9a5
Fix: v3 versions require another go-modules name
closes #12

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-29 15:47:55 +01:00
2e082a23ae
prepare release v3.0.0 2018-11-02 21:32:22 +01:00
b97b103fdb
Update code example in README
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-11-02 12:56:36 +01:00
0990dea461
Fix: Functions were renamed, test needs to be renamed
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-11-02 12:44:45 +01:00
8b7b49d583
Breaking: Fix race condition with guessing messagedigest
- This removes messagedigest guessing as it might lead to race
  conditions during decryption when an md5 digest works as a
  valid key for the sha256 encrypted data
- This removes deprecated functions (the previous point introduces
  a breaking change so this does not introduce another one)

fixes #10

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-11-02 12:42:27 +01:00
5d2bdfffee
prepare release v2.0.2 2018-09-18 15:21:27 +02:00
ebc0cd6f3e
Fix: v2 versions require another go-modules name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 15:21:09 +02:00
7286dd58e8
prepare release v2.0.1 2018-09-18 15:10:25 +02:00
363e8f2f43
Add modules file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 15:10:09 +02:00
337596f6a2
Fix some linter warnings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-11 12:16:18 +02:00
eb0c38a83d
Add benchmarks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-11 12:12:43 +02:00
b3de9a97f1
prepare release v2.0.0 2018-09-11 11:46:24 +02:00
01ca01fdce
Adjust README
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-11 11:43:54 +02:00
0b0b540c57
Add more tests for newer Go versions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-11 10:57:19 +02:00
f7c079072c
Make digest function configurable on encrypt, add tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-11 10:56:37 +02:00
zhao, haitao
aea97b3627 message digest support sha1 and sha256 2018-09-11 14:55:18 +08:00
13dadceac6
Add LICENSE
fixes #7

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-04 12:40:06 +02:00
1afa914590
prepare release v1.2.0 2018-04-26 11:09:07 +02:00
232cefd1a2
Add byte-operations, remove import path comment
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-26 11:08:28 +02:00
152e199494
Document hashing algorithms
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-21 11:53:39 +01:00
47c7c822ac
prepare release v1.1.0 2017-09-18 15:51:34 +02:00
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