encrypts #value and returns it in an encoded printable form . concode_field_sep Pattern ENCRYPTED_VALUE_PATTERN concode_elem_sep String MAGIC concode_elem_sep CryptoConfidentialKey KEY concode_elem_sep String PROVIDER concode_elem_sep String SECRET concode_elem_sep long serialVersionUID concode_elem_sep String value concode_field_sep Cipher getCipher concode_elem_sep boolean canConvert concode_elem_sep Secret tryDecrypt concode_elem_sep Secret convert concode_elem_sep Object unmarshal concode_elem_sep int hashCode concode_elem_sep SecretKey getLegacyKey concode_elem_sep boolean equals concode_elem_sep void marshal concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Secret fromString concode_elem_sep Secret decrypt concode_elem_sep String getPlainText
String function ( ) { try { Cipher loc0 = KEY . encrypt ( ) ; return new String ( Base64 . encode ( loc0 . doFinal ( ( value + MAGIC ) . getBytes ( "srini_string" ) ) ) ) ; } catch ( GeneralSecurityException loc0 ) { throw new Error ( loc0 ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new Error ( loc0 ) ; } }