fix error
This commit is contained in:
parent
fc7b83c958
commit
0720676cfe
|
@ -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 = AsiaSyncPlugin::IV
|
||||
obj.key = AsiaSyncPlugin::KEY
|
||||
end
|
||||
cipher.update(data)
|
||||
encrypt = cipher.final()
|
||||
|
|
Loading…
Reference in New Issue