functional overview
Encrypts string or binary data.
Details of Functions
character stringspecified fromalgorithmEncryption is performed with
The size of the encrypted binary data is the size of the original string rounded up to the block size.
The size of the encryption key is determined by the algorithm.
algorithm | Block Size | key size |
---|---|---|
AES (128-bit keys) | 128 bits | 128 bits |
AES(192-bit keys) | 128 bits | 192 bits |
AES (256-bit keys) | 128 bits | 256 bits |
DES | 64 bits | 56 bits |
Blowfish (lobster) | 64 bits | 32 to 448 bits |
Camellia(128-bit keys) | 128 bits | 128 bits |
Camellia(192-bit keys) | 128 bits | 192 bits |
Camellia(256-bit keys) | 128 bits | 256 bits |
parameter
- argument (e.g. function, program, programme)
-
character string character string data video data binary data
Specify the target data.key character string data binary data
Specify the encryption key. algorithmto the key size corresponding to the
It is truncated.algorithm Specifies the encryption algorithm. - AES (128-bit keys)
- AES(192-bit keys)
- AES (256-bit keys)
- DES
- Blowfish (lobster)
- Camellia(128-bit keys)
- Camellia(192-bit keys)
- Camellia(256-bit keys)
cipher user mode Specifies the cryptographic use mode. - Electronic Codebook (ECB)
- Cipher Block Chaining (CBC)
- Cipher Feedback (CFB)
- Output Feedback (OFB)
- return value
-
binary data
Returns encrypted binary data.