Hash Algorithms

I get a “This item does not exist” error in the following code

Dim code As MemoryBlock
code = Hash(“This is a test string”,HashAlgorithms.SHA1)

HashAlgorithms is highlighted.

Am I missing out on something basic ?

No Problems. This worked
code = Crypto.SHA1(“This is a test string”)

This works for MD5, SHA256 and SHA512.

Dim code As MemoryBlock
code = Crypto.Hash(“This is a test string”,Crypto.HashAlgorithms.SHA256)

It does not work for SHA1 which I think is a bug in Xojo.