pgp


FrontPage


pgp でファイルを暗号化。

# pgp -c < XXX2
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.


You need a pass phrase to encrypt the file.
Enter pass phrase:
Enter same pass phrase again:
wiping file pgptemp.$00pattern is: 0xffffffff
pattern is: 0x924
pattern is: 0xccc
pattern is: 0x492
pattern is: 0x666
pattern is: 0x111
pattern is: 0x555
pattern is: 0x333
pattern is: 0x6db
pattern is: 0xeee
pattern is: 0x999
pattern is: 0x444
pattern is: 0xaaa
pattern is: 0xffffffff
pattern is: 0xdb6
pattern is: 0xfff
pattern is: 0x222
pattern is: 0xddd
pattern is: 0xb6d
pattern is: 0x888
pattern is: 0xbbb
pattern is: 0x0
pattern is: 0x777
pattern is: 0x249
pattern is: 0xffffffff
pattern is: 0xffffffff

Ciphertext file: stdin.pgp

注意書きに、

my main focus was being able to build a functioning executable.
 Also, this is a port of beta code.  It seems to work just fine,
but keep in mind that it is a beta.

なんてあって、あな恐ろしや。
stdin で入力してるのに、wipe しようとするのは何故に?

以下のようにして、正常に復元されました。

# pgp < stdin.pgp
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File is encrypted.  You need a pass phrase to decrypt this file.

Enter pass phrase:
wiping file pgptemp.$00pattern is: 0xffffffff
pattern is: 0x333
pattern is: 0x111
pattern is: 0xdb6
pattern is: 0x6db
pattern is: 0xddd
pattern is: 0xffffffff
pattern is: 0x0
pattern is: 0xccc
pattern is: 0xfff
pattern is: 0x888
pattern is: 0x999
pattern is: 0x777
pattern is: 0xffffffff
pattern is: 0x222
pattern is: 0x555
pattern is: 0xaaa
pattern is: 0x666
pattern is: 0x249
pattern is: 0xbbb
pattern is: 0x924
pattern is: 0x444
pattern is: 0xb6d
pattern is: 0x492
pattern is: 0xeee
pattern is: 0xffffffff

Plaintext filename: pgptemp.$00

簡単なのね。