import * as crypto from "crypto" ; export class Hash { /**
     * Creates a hash code from a string.
     */ public static hashCode ( s ) { return crypto . createHash ( "md5" ) . update ( s ) . digest ( "hex" ) ; } }