In order to use N/crypto, you need to create a suitelet to store a secret key and then get the GUUID, it is on the docs and it is not such simple. If you only need a hashed string, take a look at N/encode module, there are some methods for hash or consider using an external library such CryptoJS