Android Guides | Samples

Javax.Crypto.Cipher.Update Method

Continues a multi-part transformation (encryption or decryption).

Syntax

[Android.Runtime.Register("update", "([B)[B", "")]
public Byte[] Update (Byte[] input)

Parameters

input
the input bytes to transform.

Exceptions

TypeReason
IllegalStateExceptionif this cipher instance is not initialized for encryption or decryption.
IllegalArgumentExceptionif the input is null.

Remarks

Continues a multi-part transformation (encryption or decryption). The transformed bytes are returned.

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1