$Seal and $SealData

HiWhen we change user’s internet password through web browser, adminp request is generated. In document properties there are some encrypted attributes as $Seal, $SealData.

Field Name: $Seal

Data Type: Encryption Seal List

Data Length: 318 bytes

Seq Num: 1

Dup Item ID: 0

Field Flags: SEAL

Field Name: $SealData

Data Type: Encrypted Data

Data Length: 40 bytes

Seq Num: 1

Dup Item ID: 0

Field Flags: SEALED

Value of $SealData is 07 02 14 00 04 …

00 00 00 08 00 …

00 00 50 72 6F …Pro

78 79 4E 65 77 xyNew

48 54 50 50 50 HTPPP

61 73 73 77 6F asswo

72 64 5B DB 1C rd[…

D8 91 44 93 31 …D.1

How data can be encrypted to this format using C/C++ API?

Which datatype should be used from NotesCPP SDK for Encrypted data?

Subject: $Seal and $SealData

$Seal and $SealData (and $Seal2, starting in 8.0.1) are used by Notes document encryption. You can perform document encryption through the C API using the NSFNoteEncrypt and NSFNoteDecrypt* functions defined in nsfnote.h.