triplecrypt 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/triplecrypt.rb +8 -0
  2. metadata +2 -2
data/lib/triplecrypt.rb CHANGED
@@ -1,4 +1,12 @@
1
1
  def encrypt(text)
2
+ # Triple encrypted one way string encryption in ruby
3
+ #
4
+ # Example:
5
+ # >> encrypt("foobar")
6
+ # => fo1cogulSbkLw
7
+ #
8
+ # Arguments:
9
+ # text: (String)
2
10
  3.times do
3
11
  text = text.crypt(text)
4
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triplecrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - lib/triplecrypt.rb
21
- homepage: http://rubygems.org/gems/triplecrypt.rb
21
+ homepage: http://rubygems.org/gems/triplecrypt
22
22
  licenses: []
23
23
  post_install_message:
24
24
  rdoc_options: []