import sjcl from 'sjcl' const myString = 'Hello' const myBitArray = sjcl.hash.sha256.hash(myString) const myHash = sjcl.codec.hex.fromBits(myBitArray)