NLP Odyssey
NLP Odyssey
same to me, I think the package needs a demo to encode and decode a buffer.
These code can't work as expected. T.T ``` console.log(originBuffer.toString()); cipher.setAAD(originBuffer); let cipherRet = cipher.update(originBuffer, 'binary', 'hex'); cipherRet += cipher.final('hex'); var tag = cipher.getAuthTag(); decipher.setAAD(originBuffer); decipher.setAuthTag(tag); decipher.update(cipherRet, 'hex', 'binary'); let out...
thanks for help, I'd like to use this module like another cipher in crypto. but the useage is not same. so i don't know how to do.