ERR_CRYPTO_INVALID_STATE


对处于无效状态的对象使用了加密方法。 例如,在调用 cipher.final() 之前调用 cipher.getAuthTag()

A crypto method was used on an object that was in an invalid state. For instance, calling cipher.getAuthTag() before calling cipher.final().