tdes 3.0.2 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/tdes/extconf.rb +1 -3
- data/ext/tdes/tdes_class.c +1 -0
- data/lib/tdes/version.rb +5 -0
- data/lib/tdes.rb +5 -0
- metadata +26 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ae48de55f0b1e0889bf1956eb0745d34be42f8a29dcd22e379a2beec51e6abf
|
4
|
+
data.tar.gz: 6f17a05730784dbac958c2cd4781d1172d587e32369994df9dd213042cdf4663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e61f947fd99c9ff8d799a3a9fc7cd031fabb74b44d2171e086bd2ea9f03ea84650c3aa2134edadb91777257e10af248c4263d2fcd82e400a42b2783a471a434
|
7
|
+
data.tar.gz: 5ccb4ad585a6a7111fa07be344adbd7c40a427dfa0c9ec863f2f19c54d7664e6da9f7930598182950c6a86a3aaee917a8ad5e23c2cf1e9f9d7e6da29b5a9524c
|
data/ext/tdes/extconf.rb
CHANGED
@@ -14,9 +14,7 @@ with_cflags(cflags) do
|
|
14
14
|
abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
|
15
15
|
|
16
16
|
# Check for a symbol/function specific to OpenSSL 3.x
|
17
|
-
unless have_func('EVP_Cipher')
|
18
|
-
abort 'OpenSSL 3.x required (missing EVP_Cipher function)'
|
19
|
-
end
|
17
|
+
abort 'OpenSSL 3.x required (missing EVP_Cipher function)' unless have_func('EVP_Cipher')
|
20
18
|
|
21
19
|
create_makefile 'tdes/tdes'
|
22
20
|
end
|
data/ext/tdes/tdes_class.c
CHANGED
@@ -83,6 +83,7 @@ static VALUE tdes_decrypt(VALUE self, VALUE data) {
|
|
83
83
|
|
84
84
|
void setup_tdes_class(VALUE module) {
|
85
85
|
VALUE tdes_class = rb_define_class_under(module, "TDES", rb_cObject);
|
86
|
+
rb_undef_alloc_func(tdes_class);
|
86
87
|
rb_define_singleton_method(tdes_class, "new", tdes_new, 1);
|
87
88
|
rb_define_method(tdes_class, "encrypt", tdes_encrypt, 1);
|
88
89
|
rb_define_method(tdes_class, "decrypt", tdes_decrypt, 1);
|
data/lib/tdes/version.rb
ADDED
data/lib/tdes.rb
CHANGED
metadata
CHANGED
@@ -1,44 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tdes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Bastos
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rake-compiler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
description: triple DES encryption implemented in C using openssl
|
40
|
+
version: '1'
|
41
|
+
description: 'triple DES encryption implemented in C using openssl
|
42
|
+
|
43
|
+
'
|
42
44
|
email: gabriel.bastos@cloudwalk.io
|
43
45
|
executables: []
|
44
46
|
extensions:
|
@@ -52,27 +54,31 @@ files:
|
|
52
54
|
- ext/tdes/tdes_class.c
|
53
55
|
- ext/tdes/tdes_class.h
|
54
56
|
- lib/tdes.rb
|
57
|
+
- lib/tdes/version.rb
|
55
58
|
homepage: https://github.com/cloudwalk/ruby-3des
|
56
59
|
licenses:
|
57
60
|
- MIT
|
58
|
-
metadata:
|
59
|
-
|
60
|
-
|
61
|
+
metadata:
|
62
|
+
rubygems_mfa_required: 'true'
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options:
|
65
|
+
- "--main"
|
66
|
+
- readme.md
|
61
67
|
require_paths:
|
62
68
|
- lib
|
63
69
|
required_ruby_version: !ruby/object:Gem::Requirement
|
64
70
|
requirements:
|
65
71
|
- - ">="
|
66
72
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
73
|
+
version: '2.7'
|
68
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
75
|
requirements:
|
70
76
|
- - ">="
|
71
77
|
- !ruby/object:Gem::Version
|
72
78
|
version: '0'
|
73
79
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
80
|
+
rubygems_version: 3.5.11
|
81
|
+
signing_key:
|
76
82
|
specification_version: 4
|
77
83
|
summary: triple DES encryption implemented in C
|
78
84
|
test_files: []
|