Skip to content

Glossary: Building APIs with Node.js

Buffer

Also written: Buffer.from

Node's type for raw bytes. It is used to turn text such as hex or base64url back into bytes, for example when comparing password hashes or decoding a JWT payload.

Where the book teaches it

Related terms

base64urltimingSafeEqual