ece 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d5b4405985580581acc70aecdc06679e790a0c2
4
- data.tar.gz: d2e1bf3c52a065fb8cdc84630ab841da02921531
3
+ metadata.gz: 224dae0f5809056afa010473e4fdd7cd0ac33d9c
4
+ data.tar.gz: e038af72e2b067e76e57433cdaed07ae4c2a0a5c
5
5
  SHA512:
6
- metadata.gz: 72508ea873779630f61ec4308112c4d950681bf0db93a33eb7af9225ec09c422c389d2c06076b70dcecc458f60578e1f5ea0ed4a8b0ada22c444329f371b198e
7
- data.tar.gz: ce9d268b04c7a2bd3a75e06775a74a86c7eb6b38d232859226da25afab44bee58a4a96a8800d54c253e5373a5f972745d3ea15a210b0e3dc986a8affcefe459a
6
+ metadata.gz: 339b6561b5715d3430d7e3abaf696886042f5c798a47000bccf0a77c06b53d47daa65d583cf7f5fd0fea2b2ae6e2ade2862b9b834b39802a5b79152a108a9f84
7
+ data.tar.gz: fd3f463c8426080f8336b5eebcddf05bcb3128efe9019b82ceb6694de6f4d3a3830e85c818b4feddc23897c8adc81a7fc0589c93d478d80fe1c13b9cc6bd01d6
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ece
1
+ # ECE
2
2
 
3
3
  Ruby implementation of encrypted content-encoding.
4
4
 
@@ -31,11 +31,11 @@ key = Random.new.bytes(16)
31
31
  salt = Random.new.bytes(16)
32
32
  data = "Your very private data"
33
33
 
34
- encrypted_data = Ece.encrypt(data, key: key, salt: salt)
34
+ encrypted_data = ECE.encrypt(data, key: key, salt: salt)
35
35
  ```
36
36
  Decrypting:
37
37
  ```ruby
38
- Ece.decrypt(encrypted_data, key: key, salt: salt)
38
+ ECE.decrypt(encrypted_data, key: key, salt: salt)
39
39
  ```
40
40
  Data can be bytestring as well.
41
41
  ## Contributing
@@ -5,7 +5,7 @@ require 'ece/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "ece"
8
- spec.version = Ece::VERSION
8
+ spec.version = ECE::VERSION
9
9
  spec.authors = ["Alexander Shevtsov"]
10
10
  spec.email = ["randomlogin76@gmail.com"]
11
11
  spec.license = "MIT"
@@ -4,7 +4,7 @@ require 'base64'
4
4
 
5
5
  #TODO: variable padding
6
6
 
7
- class Ece
7
+ class ECE
8
8
 
9
9
  KEY_LENGTH=16
10
10
  TAG_LENGTH=16
@@ -1,3 +1,3 @@
1
- class Ece
2
- VERSION = "0.1.2"
1
+ class ECE
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ece
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shevtsov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-21 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler