Encryptor
|
Encrypts and decrypts
input data by means of a symmetric cipher (DES, DESede and any other symmetric cipher, which is supported by the user's cryptographic service provider and selected in the bean's properties).
Only the owners of the Secret
Key can decrypt the data transformed by this bean. |
HashCalculator |
Computes the hash function value of its input data. Any hash function takes
an arbitrary-sized array of data as input, and generates a fixed-sized
output called hash (digest). The message digests can be used to identify the data. The data integrity may be checked by comparing the hash value
of the current message with the original value. |
PBEncryptor |
Encrypts and decrypts
data by means of the password-based encryption algorithms (PBEWithMD5AndDES and any other algorithm, which is supported by the user's cryptographic service
provider). Any password-based encryption algorithm derives the encryption key from the password.
Only the users who know the correct password can decrypt the data. |
MessageWrapper |
Provides both convenient password-based encryption scheme
and data integrity check. Reads the source data and the password and
wraps it into the output message of a special format. |
MessageUnwrapper |
Unwraps the message with
the user password. It checks the password entered by the user and
fires the incorrectPassword
event if the password is wrong. It also provides data integrity check
by means of recalculating the message hash function value. If this
hash value differs from the value in the wrapped file, the contentsCorrupted
event is fired. However, this event will not be fired if you change
some parts of the wrapped message other than the encrypted message and
its hash value.
|