rsa-encrypter 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rsa::Encrypter
2
2
 
3
- TODO: Write a gem description
3
+ Gem is in development-mode
4
4
 
5
5
  ## Installation
6
6
 
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  example to use :
22
22
 
23
23
 
24
- key = Rsa::Encrypter.generate_rsa
24
+ key = Rsa::Encrypter.generate_rsa // key[1], key[0] for encrypt and key[2], key[0] for decrypt
25
25
 
26
26
  puts "your message ?"
27
27
 
@@ -29,4 +29,9 @@ print "=> "; m = gets.chomp
29
29
 
30
30
  e = Rsa::Encrypter.encrypt(m, key[1], key[0])
31
31
 
32
- puts Rsa::Encrypter.decrypt(e, key[2], key[0])
32
+ puts Rsa::Encrypter.decrypt(e, key[2], key[0])
33
+
34
+ ## Todo
35
+
36
+ in the next stpes i build tests and a wiki-documentation
37
+
@@ -1,5 +1,5 @@
1
1
  module Rsa
2
2
  module Encrypter
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["cevin@empuxa.com"]
11
11
  gem.description = %q{rsa-encrypter to encrypt messages like password usw}
12
12
  gem.summary = %q{ its a rsa-encrypter they use a private and public key to encrypt and decrypt messages}
13
- gem.homepage = "http://eichnau.com/posts/96"
13
+ gem.homepage = "https://github.com/cevin1994/rsa"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsa-encrypter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -26,7 +26,7 @@ files:
26
26
  - lib/rsa-encrypter.rb
27
27
  - lib/rsa-encrypter/version.rb
28
28
  - rsa-encrypter.gemspec
29
- homepage: http://eichnau.com/posts/96
29
+ homepage: https://github.com/cevin1994/rsa
30
30
  licenses: []
31
31
  post_install_message:
32
32
  rdoc_options: []