ttcrypt 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -10
- data/ext/ttcrypt/byte_buffer.h +2 -2
- data/ext/ttcrypt/extconf.rb +4 -4
- data/ext/ttcrypt/md_helper._c +346 -0
- data/ext/ttcrypt/sha1.cpp +1 -1
- data/ext/ttcrypt/sha512.c +247 -0
- data/ext/ttcrypt/sph_sha2.h +378 -0
- data/ext/ttcrypt/sph_types.h +1976 -0
- data/ext/ttcrypt/ttcrypt.cpp +13 -0
- data/ext/ttcrypt/ttcrypt.h +2 -1
- data/ext/ttcrypt/ttcrypt_ruby.cpp +40 -0
- data/lib/ttcrypt.rb +60 -6
- data/lib/ttcrypt/version.rb +1 -1
- data/spec/bigint_tools_spec.rb +15 -0
- data/spec/spec_helper.rb +17 -1
- data/spec/ttcrypt_spec.rb +162 -157
- metadata +9 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ttcrypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sergeych
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- ext/ttcrypt/common_utils.cpp
|
95
95
|
- ext/ttcrypt/common_utils.h
|
96
96
|
- ext/ttcrypt/extconf.rb
|
97
|
+
- ext/ttcrypt/md_helper._c
|
97
98
|
- ext/ttcrypt/pollard_rho.cpp
|
98
99
|
- ext/ttcrypt/pollard_rho.h
|
99
100
|
- ext/ttcrypt/rsa_key.cpp
|
@@ -104,6 +105,9 @@ files:
|
|
104
105
|
- ext/ttcrypt/sha1.h
|
105
106
|
- ext/ttcrypt/sha256.c
|
106
107
|
- ext/ttcrypt/sha256.h
|
108
|
+
- ext/ttcrypt/sha512.c
|
109
|
+
- ext/ttcrypt/sph_sha2.h
|
110
|
+
- ext/ttcrypt/sph_types.h
|
107
111
|
- ext/ttcrypt/text_utils.cpp
|
108
112
|
- ext/ttcrypt/text_utils.h
|
109
113
|
- ext/ttcrypt/ttcrypt.cpp
|
@@ -111,6 +115,7 @@ files:
|
|
111
115
|
- ext/ttcrypt/ttcrypt_ruby.cpp
|
112
116
|
- lib/ttcrypt.rb
|
113
117
|
- lib/ttcrypt/version.rb
|
118
|
+
- spec/bigint_tools_spec.rb
|
114
119
|
- spec/spec_helper.rb
|
115
120
|
- spec/ttcrypt_spec.rb
|
116
121
|
- ttcrypt.gemspec
|
@@ -136,10 +141,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
141
|
requirements:
|
137
142
|
- GMP, https://gmplib.org
|
138
143
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.5.1
|
140
145
|
signing_key:
|
141
146
|
specification_version: 4
|
142
147
|
summary: thrift basic cryptography
|
143
148
|
test_files:
|
149
|
+
- spec/bigint_tools_spec.rb
|
144
150
|
- spec/spec_helper.rb
|
145
151
|
- spec/ttcrypt_spec.rb
|