Indicates whether the final
method has been called.
Instance of VirgilSeqCipher
native class.
Frees the memory occupied by seqCipher in the browser. In node.js this is a noop.
Returns any remaining encrypted or decrypted data depending on current
mode.
Once final
has been called, this instance cannot be used to encrypt
or decrypt data, attempts to call any method including final
will
result in an error being thrown.
This method also automatically calls dispose
.
Optional. Indicating whether to automatically
free the memory occupied by internal seqSigner object in the
browser.
Default is true
. false
is used to perform operations in inherited classes.
If you pass false
as an argument you should call dispose
method manually.
In node.js this argument is ignored because the memory will be freed by the garbage collector.
Encrypt of decrypt chunk of data based on current mode.
Chunk of data to encrypt \ decrypt
If data
is a string, specifies its
encoding, otherwise is ignored. Default is 'utf8'.
Base class for
VirgilStreamCipher
andVirgilStreamDecipher
wrapping a low-levelVirgilSeqCipher
object.