fix error
This commit is contained in:
parent
c6884b2db2
commit
fc7b83c958
|
@ -377,8 +377,8 @@ namespace :sync_asia_personal_plugins do
|
|||
@read_timeout = 300
|
||||
data = "id=#{user_id}"
|
||||
cipher = OpenSSL::Cipher::Cipher.new("des").encrypt.tap do |obj|
|
||||
obj.iv = IV
|
||||
obj.key = KEY
|
||||
obj.iv = ::IV
|
||||
obj.key = ::KEY
|
||||
end
|
||||
cipher.update(data)
|
||||
encrypt = cipher.final()
|
||||
|
|
Loading…
Reference in New Issue