index: add mnemonicToEntropy backwards function

As per #7.