This library currently uses the deprecated Buffer function and should be updated to use Buffer.from instead