Linux 上是否有 "crypt"?

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

Linux 上是否有 "crypt"?

文章phantom » 週一 9月 13, 2004 4:06 pm

先前在 Unix 機器上, 有一隻小程式 "crypt"

crypt
Encrypt a file using a key you specify. The key should not contain whitespace (space or tab).

Example:
crypt F(x)=12 < exam1 > green
Encrypts a file named exam1 using the key F(x)=12. Here the encrypted output file is named green.

crypt F(x)=12 < green > happy
This deciphers the above file and saves the output in the file happy. One must use the same key, but the output file need not have the old name (you may not know the original name anyway).


基本上就是把檔案加密用. 找了好久, 都沒看到.

謝謝大家.
Linux 非萬能, 沒 Linux 萬萬不能.
root = God
apt-get install ultimate-horsepower
圖檔
頭像
phantom
活潑的高中生
活潑的高中生
 
文章: 306
註冊時間: 週三 8月 18, 2004 10:23 am

re:Linux 上是否有 "crypt"?

文章Tetralet » 週一 9月 13, 2004 4:22 pm

似乎是因為 crypt 的演算法太糟糕,
所以被揚棄了。

請替而使用 ccrypt:
代碼: 選擇全部
Package: ccrypt
Description: secure encryption and decryption of files and streams
 ccrypt is a utility for encrypting and decrypting files and streams. It was
 designed as a replacement for the standard unix crypt utility, which is
 notorious for using a very weak encryption algorithm. ccrypt is based on the
 Rijndael cipher, which is the U.S. government's chosen candidate for the
 Advanced Encryption Standard (AES, see http://www.nist.gov/aes). This cipher is
 believed to provide very strong security.
時間並不能治療我心中的疼痛
南方的春天說什麼也溫暖不了我冰冷的血

誦唱大復活咒文,今天的 Tetralet 又在唧唧喳喳了 重生!
Tetralet
俺是博士
俺是博士
 
文章: 3078
註冊時間: 週四 11月 28, 2002 3:02 pm

re:Linux 上是否有 "crypt"?

文章phantom » 週一 9月 13, 2004 4:29 pm

Tetralet 寫:似乎是因為 crypt 的演算法太糟糕,
所以被揚棄了。

請替而使用 ccrypt:
代碼: 選擇全部
Package: ccrypt
Description: secure encryption and decryption of files and streams
 ccrypt is a utility for encrypting and decrypting files and streams. It was
 designed as a replacement for the standard unix crypt utility, which is
 notorious for using a very weak encryption algorithm. ccrypt is based on the
 Rijndael cipher, which is the U.S. government's chosen candidate for the
 Advanced Encryption Standard (AES, see http://www.nist.gov/aes). This cipher is
 believed to provide very strong security.


了解. 謝謝了. 等一下就去試試.
:-D
Linux 非萬能, 沒 Linux 萬萬不能.
root = God
apt-get install ultimate-horsepower
圖檔
頭像
phantom
活潑的高中生
活潑的高中生
 
文章: 306
註冊時間: 週三 8月 18, 2004 10:23 am


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客