encryptWithFixedKey(String) method

Encrypts the specified string using the fixed key and returns the base64 encoded encrypted string.

Syntax

String encryptWithFixedKey ( String plaintext ) throws SecException

Parameters

Returns

Base64 encoded encrypted string

Exceptions

Usage

Use the decryptWithFixedKey method to decrypt the string.