Wix functionality to md5 encrypt the string

Is there any direct Wix functionality to md5 encrypt any string? or any other way to achieve this to get md5 encryption like how to use javascript md5 library?