Cipher.doFinal() | Java

 

Descripción

Sintaxis

public final byte[] doFinal() throws IllegalBlockSizeException, BadPaddingException
public final byte[] doFinal(byte[] input) throws IllegalBlockSizeException, BadPaddingException
public final int doFinal(byte[] output, int outputOffset) throws IllegalBlockSizeException, ShortBufferException, BadPaddingException
public final byte[] doFinal(byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException
public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException
public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException
public final int doFinal(ByteBuffer input, ByteBuffer output) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException

Parámetros

  • ByteBuffer output,
  • int inputLen,
  • ByteBuffer input,
  • int outputOffset,
  • int inputOffset,
  • byte[] input,
  • byte[] output,

Excepciones

IllegalArgumentException, ShortBufferException, BadPaddingException, IllegalBlockSizeException, AEADBadTagException, IllegalStateException, ReadOnlyBufferException

Clase Padre

Cipher

Ejemplo


Artículos

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.