File: enc3.res

package info (click to toggle)
pgpdump 0.26-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 400 kB
  • ctags: 216
  • sloc: ansic: 2,269; makefile: 71; sh: 14
file content (15 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Old: Public-Key Encrypted Session Key Packet(tag 1)(140 bytes)
	New version(3)
	Key ID - 0x0F648A1C9E4F744D
	Pub alg - RSA Encrypt or Sign(pub 1)
	RSA m^e mod n(1021 bits) - ...
		-> m = sym alg(1 byte) + checksum(2 bytes) + PKCS-1 block type 02
Old: Public-Key Encrypted Session Key Packet(tag 1)(526 bytes)
	New version(3)
	Key ID - 0xF6705ABF6ED954E8
	Pub alg - ElGamal Encrypt-Only(pub 16)
	ElGamal g^k mod p(2048 bits) - ...
	ElGamal m * y^k mod p(2047 bits) - ...
		-> m = sym alg(1 byte) + checksum(2 bytes) + PKCS-1 block type 02
Old: Symmetrically Encrypted Data Packet(tag 9)(26 bytes)
	Encrypted data [sym alg is specified in pub-key encrypted session key]