Project

General

Profile

Actions

Bug #2258

closed

Decryption fails with $decrypt

Added by jon chris about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
10/16/2015
Due date:
% Done:

0%

Estimated time:
Operative System:
Windows 10
Regression:
No

Description

When I run this on the betabuild portable 32 and 64bit
var %text $encrypt(Hello World, test)
echo -ag $decrypt(%text, test)
I get this :
0ƭ ~ò�.�trD�

before I found $encrypt and $decrypt I was using the blowfish fork.
And I have gotten similar issues with cbc decryption there too.

Actions #1

Updated by Per Amundsen about 9 years ago

Thanks this is fixed for next beta.

The blowfish dll is not related to this, I will try update it from upstream.

Actions #2

Updated by Per Amundsen about 9 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Per Amundsen about 9 years ago

mirc fish is updated now, using next AdiIRC beta, encoding should be more reliable.

https://dev.adiirc.com/projects/adiirc/wiki/Blowfish

Actions #4

Updated by jon chris about 9 years ago

Per Amundsen wrote:

mirc fish is updated now, using next AdiIRC beta, encoding should be more reliable.

https://dev.adiirc.com/projects/adiirc/wiki/Blowfish

Thanks for the quickfix, btw does $encrypt use cbc mode?

Actions #5

Updated by Per Amundsen about 9 years ago

No it uses EBC.

Actions #6

Updated by Per Amundsen about 6 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 1.9.9 to 3.3

Was keeping this open in case I figured out how to do CBC, but I just learned even ECB is not working properly so
$encrypt is gonna be disabled in 3.3, consider using the blowfish plugin instead https://dev.adiirc.com/projects/adiirc/wiki/Blowfish, it also supports CBC.

Actions

Also available in: Atom PDF