code: public static @Nullable byte[] encrypt(EncryptionKey encryptionKey, @Nullable String value) throws NoSuchPaddingException,
  	                                                                                                   InvalidKeyException,
  	                                                                                                   NoSuchAlgorithmException,
  	                                                                                                   IllegalBlockSizeException,
  	                                                                                                   BadPaddingException,
  	                                                                                                   InvalidAlgorithmParameterException,
  	                                                                                                   EncryptionException {
  		return value != null ? encrypt(encryptionKey, value.getBytes()) : null;
  	}
docs: region Encryption