This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mcrypt issue


I am seeing an mcrypt problem with short plaintext strings. 
I don't have a Linux box to compare results, so I don't 
know if this is an upstream or a Cygwin issue.

$ mcrypt --version
Mcrypt v.2.6.8 (i686-pc-cygwin)
Linked against libmcrypt v.2.5.8
Copyright (C) 1998-2002 Nikos Mavroyanopoulos (nmav@gnutls.org)
$ 

Longer strings seem to work:

$ echo abcdef | mcrypt -q -k xyz | mcrypt -dq -k xyz
abcdef
$ 

But shorter ones not so much:

$ echo abcde | mcrypt -q -k xyz | mcrypt -dq -k xyz
ab▒$

--Ken Nellis

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]