Some minor changes from when I was porting the crypto implementation to skynet-js.
I hard-coded some expected values in the tests so that I could use the same values for testing in skynet-js.