webget_ruby_secure_random 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data.tar.gz.sig +1 -2
  2. data/LICENSE.txt +12 -0
  3. data/README.rdoc +39 -0
  4. metadata +4 -2
  5. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �����8��e_O@=�,N�Kj�gu �3� h���U3��GYPX��74WD_� �au8m�wxr��7�6ig[ ��`D�z�-JS�P),
2
- f������e���1�-2i��(�C��é
1
+ A1��ȕ��e;��կT�֫��}ez��Pm|M;��(;�Bu5Nw4���u�����`'��y2p�~qos^?���'[|Ը����1 ��Y��^�so��G3���}�Q_-��%Gh
data/LICENSE.txt ADDED
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+
3
+ You may choose any of these licenses:
4
+
5
+ - CreativeCommons License, Non-commercial Share Alike
6
+ - LGPL, GNU Lesser General Public License
7
+ - MIT License
8
+ - Ruby License
9
+
10
+ THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
11
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
data/README.rdoc ADDED
@@ -0,0 +1,39 @@
1
+
2
+ = WebGet Ruby Gem: secure random number generator interface for Ruby 1.86 backported from 1.8.7
3
+
4
+ Author:: Joel Parker Henderson, joelparkerhenderson@gmail.com
5
+ Copyright:: Copyright the original author; I merely made it into a gem.
6
+ License:: CreativeCommons License, Non-commercial Share Alike
7
+ License:: LGPL, GNU Lesser General Public License
8
+
9
+ This gem is intended for use with Ruby 1.8.6 only.
10
+
11
+ This gem is a backport of the built-in securerandom method from Ruby 1.8.7.
12
+
13
+ This library is an interface for secure random number generator which is
14
+ suitable for generating session key in HTTP cookies, etc.
15
+
16
+ It supports following secure random number generators.
17
+
18
+ * openssl
19
+ * /dev/urandom
20
+
21
+ Examples
22
+ SecureRandom.hex(10) => "52750b30ffbc7de3b362"
23
+ SecureRandom.hex(10) => "92b15d6c8dc4beb5f559"
24
+ SecureRandom.hex(11) => "6aca1b5c58e4863e6b81b8"
25
+ SecureRandom.hex(12) => "94b2fff3e7fd9b9c391a2306"
26
+ SecureRandom.hex(13) => "39b290146bea6ce975c37cfc23"
27
+
28
+ Examples
29
+ SecureRandom.base64(10) => "EcmTPZwWRAozdA=="
30
+ SecureRandom.base64(10) => "9b0nsevdwNuM/w=="
31
+ SecureRandom.base64(10) => "KO1nIU+p9DKxGg=="
32
+ SecureRandom.base64(11) => "l7XEiFja+8EKEtY="
33
+ SecureRandom.base64(12) => "7kJSM/MzBJI+75j8"
34
+ SecureRandom.base64(13) => "vKLJ0tXBHqQOuIcSIg=="
35
+
36
+ Examples
37
+ SecureRandom.random_bytes(10) => "\016\t{\370g\310pbr\301"
38
+ SecureRandom.random_bytes(10) => "\323U\030TO\234\357\020\a\337"
39
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webget_ruby_secure_random
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - WebGet
@@ -32,7 +32,7 @@ cert_chain:
32
32
  DXnLFY0cVuBnNDMOOFl8vk1qIcZjcTovhzgcixpG6Uk5qmUsKHRLQf4oQJx7TfLK
33
33
  -----END CERTIFICATE-----
34
34
 
35
- date: 2010-02-17 00:00:00 -08:00
35
+ date: 2010-02-19 00:00:00 -08:00
36
36
  default_executable:
37
37
  dependencies: []
38
38
 
@@ -45,6 +45,8 @@ extensions: []
45
45
  extra_rdoc_files: []
46
46
 
47
47
  files:
48
+ - README.rdoc
49
+ - LICENSE.txt
48
50
  - lib/webget_ruby_secure_random.rb
49
51
  has_rdoc: true
50
52
  homepage: http://webget.com/
metadata.gz.sig CHANGED
Binary file