/** * Completes the HMAC computation and resets the HMAC for further use, maintaining the secret key * that the HMAC was initialized with. * * @return the HMAC result. */ protected byte[] engineDoFinal() { return hmac.doFinal(); }