triplecrypt 0.1.2 → 1.0.0
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.
- data/lib/triplecrypt.rb +10 -12
- metadata +2 -2
data/lib/triplecrypt.rb
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
def encrypt(text)
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
end
|
13
|
-
puts text
|
2
|
+
3.times do
|
3
|
+
text = text.crypt(text)
|
4
|
+
end
|
5
|
+
return text
|
6
|
+
end
|
7
|
+
def custom_encrypt(text, times=3)
|
8
|
+
times.times do
|
9
|
+
text = text.crypt(text)
|
10
|
+
end
|
11
|
+
return text
|
14
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.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-05-05 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Triple encrypted one way string encryption in ruby
|
14
|
+
description: Triple encrypted one way string encryption in ruby
|
15
15
|
email: slmnwise@gmail.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|