Opened 12 years ago

Closed 12 years ago

#3083 closed defect (fixed)

blowfish decrypt() breaks on 'short' messages.

Reported by: guest Owned by: Tom Trenka
Priority: high Milestone:
Component: Crypto Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.require('dojo.crypto.Blowfish'); var message='pass'; var key = 'foobar'; var enc = dojo.crypto.Blowfish.encrypt(message, key); var result = dojo.crypto.Blowfish.decrypt(enc,key); dojo.debug(message,' should equal ',result);

Change History (1)

comment:1 Changed 12 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

(In [8766]) Fixes #3083. Was not taking into account non-word size input to base64 decoding.

Note: See TracTickets for help on using tickets.