naoki 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/data_secure_wrapper.rb +12 -5
- data/naoki.gemspec +1 -1
- metadata +2 -2
data/lib/data_secure_wrapper.rb
CHANGED
@@ -5,11 +5,18 @@ ICAPI_LIB_FILE = File.join(File.expand_path(__FILE__), '../libICAPI.so')
|
|
5
5
|
unless File.exists? ICAPI_LIB_FILE
|
6
6
|
|
7
7
|
module DataSecureWrapper
|
8
|
-
def self.configure(*args)
|
9
|
-
|
10
|
-
def self.
|
11
|
-
|
12
|
-
def self.
|
8
|
+
def self.configure(*args)
|
9
|
+
end
|
10
|
+
def self.open(*args)
|
11
|
+
end
|
12
|
+
def self.encrypt(*args)
|
13
|
+
"encrypted_string"
|
14
|
+
end
|
15
|
+
def self.decrypt(*args)
|
16
|
+
"decrypted_string"
|
17
|
+
end
|
18
|
+
def self.close(*args)
|
19
|
+
end
|
13
20
|
end
|
14
21
|
|
15
22
|
else
|
data/naoki.gemspec
CHANGED