Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 668 Bytes
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]