Possible to determine crypto-type from crypted file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is it possible to determine what crypto-type (aes, twofish, blowfish, etc) that has been used to crypt a file by just looking in the file examining its content?

If not it maybe would be possible to increase security be allowing many different crypto-types in the system and create a small script used for seting up the crypto-loop that takes the crypto-type as an arg:

Script "loop":
----------------------------------------
#!/bin/sh
if [ -z "$1" ]; then
   echo "Usage: $0 <crypto-type>"
   exit 0
fi
losetup -e $1 /dev/loop0 /.cryptfile
mount /.cryptfile /mnt/mycrypt
----------------------------------------

Any comments?

-Jonap

_________________________________________________________________
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se


Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux