implemented constant time Buffer equality check

One part of #22 adapted from https://github.com/hueniverse/cryptiles/blob/master/lib/index.js#L46-L65 for Buffers