magicHash now uses Buffers internally