Encrypt a block of data.
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public abstract byte[] encrypt( byte[] plaintext )
Parameters
- plaintext
- Type: SystemByte
The buffer containing the plaintext block to be encrypted. Must not be null.
Return Value
Type: ByteThe encrypted block.
Exceptions
Exception | Condition |
---|---|
DOFSecurityException | If the plaintext can not be encrypted. |
DOFSecurityException |
Remarks
See Also