krypt-core 0.0.1 → 0.0.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +14 -0
- data/Rakefile +88 -0
- data/ext/krypt/core/krypt-core.c +1 -2
- data/ext/krypt/core/krypt-core.h +0 -12
- data/ext/krypt/core/krypt_asn1_parser.c +2 -2
- data/ext/krypt/core/krypt_missing.c +75 -0
- data/ext/krypt/core/krypt_missing.h +5 -0
- data/ext/krypt/core/krypt_pem.c +1 -1
- data/lib/{krypt-core.rb → krypt/core.rb} +8 -1
- metadata +40 -80
- data/ext/krypt/core/Makefile +0 -221
- data/ext/krypt/core/extconf.h +0 -8
- data/ext/krypt/core/krypt-core.o +0 -0
- data/ext/krypt/core/krypt-provider.h +0 -86
- data/ext/krypt/core/krypt_asn1-internal.o +0 -0
- data/ext/krypt/core/krypt_asn1.o +0 -0
- data/ext/krypt/core/krypt_asn1_codec.o +0 -0
- data/ext/krypt/core/krypt_asn1_in_adapter.o +0 -0
- data/ext/krypt/core/krypt_asn1_in_chunked.o +0 -0
- data/ext/krypt/core/krypt_asn1_in_definite.o +0 -0
- data/ext/krypt/core/krypt_asn1_parser.o +0 -0
- data/ext/krypt/core/krypt_asn1_template.o +0 -0
- data/ext/krypt/core/krypt_asn1_template_encoder.o +0 -0
- data/ext/krypt/core/krypt_asn1_template_parser.o +0 -0
- data/ext/krypt/core/krypt_b64.o +0 -0
- data/ext/krypt/core/krypt_digest.c +0 -391
- data/ext/krypt/core/krypt_digest.h +0 -51
- data/ext/krypt/core/krypt_digest.o +0 -0
- data/ext/krypt/core/krypt_error.o +0 -0
- data/ext/krypt/core/krypt_hex.o +0 -0
- data/ext/krypt/core/krypt_io.o +0 -0
- data/ext/krypt/core/krypt_io_in_pem.o +0 -0
- data/ext/krypt/core/krypt_missing.o +0 -0
- data/ext/krypt/core/krypt_pem.o +0 -0
- data/ext/krypt/core/krypt_provider-internal.h +0 -40
- data/ext/krypt/core/krypt_provider.c +0 -136
- data/ext/krypt/core/krypt_provider.o +0 -0
- data/ext/krypt/core/kryptcore.so +0 -0
- data/ext/krypt/core/mkmf.log +0 -130
- data/lib/krypt-core/version.rb +0 -3
- data/lib/kryptcore.so +0 -0
- data/spec/README +0 -2
- data/test/README +0 -2
- data/test/res/certificate.cer +0 -0
- data/test/resources.rb +0 -48
- data/test/scratch.rb +0 -17
data/test/scratch.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
|
3
|
-
require 'krypt'
|
4
|
-
require_relative 'resources'
|
5
|
-
require 'stringio'
|
6
|
-
require 'pp'
|
7
|
-
require 'openssl'
|
8
|
-
require 'base64'
|
9
|
-
require 'benchmark'
|
10
|
-
|
11
|
-
p Krypt::Provider::PROVIDERS
|
12
|
-
|
13
|
-
d = Krypt::Digest.new("SHA1")
|
14
|
-
p d
|
15
|
-
|
16
|
-
result = d.hexdigest("test")
|
17
|
-
p result
|