rsa-encrypter 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.md +5 -1
  2. data/lib/rsa-encrypter/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -26,9 +26,13 @@ Or install it yourself as:
26
26
 
27
27
  example to use :
28
28
 
29
- generate public and private key
29
+ generate public and private key
30
30
 
31
31
  key = Rsa::Encrypter.generate_rsa
32
+
33
+ or you can set the both prime numbers manualy, default is 1033, 977 when the both numbers are smaller than is the encrypter faster but lee secure
34
+
35
+ key = Rsa::Encrypter.generate_rsa(11, 13)
32
36
 
33
37
  a sample message to encrypting (m)
34
38
 
@@ -1,5 +1,5 @@
1
1
  module Rsa
2
2
  module Encrypter
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: