reset

abstract fun reset(newKey: ByteArray)(source)

Resets and re-initializes the instance with the provided newKey

This is useful if wanting to clear the key before de-referencing.

Throws

IllegalArgumentException

if newKey is unacceptable.