Project

General

Profile

Actions

Bug #2258

closed

Decryption fails with $decrypt

Added by jon chris over 8 years ago. Updated over 5 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 over 8 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 over 8 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Per Amundsen over 8 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 over 8 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 over 8 years ago

No it uses EBC.

Actions #6

Updated by Per Amundsen over 5 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